Whitelist files to sync


We can use .sync-exclude.lst files to exclude syncing specific files or patterns from specific folders, or globally.
Is it possible to invert that logic and instead specify files or patterns to sync and ignore everything else in a folder?
I’ve been trying to specify it using a pattern-bracket expression, but without success.