declare type FilterFlags = { [Key in keyof Base]: Base[Key] extends Condition ? Key : never; }; declare type FilterOutFlags = { [Key in keyof Base]: Base[Key] extends Condition ? never : Key; }; declare type OnlyProperties = FilterOutFlags any>[keyof Base]; declare type AllowedNames = FilterFlags[keyof Base]; export { FilterOutFlags, FilterFlags, AllowedNames, OnlyProperties };