export declare type Matcher = { mode: "exact" | "all"; value: string; }; export declare type Picker = { mode: "random" | "first"; value: number; }; export declare type FilterMode = Matcher["mode"] | Picker["mode"]; export declare type Filter = Matcher | Picker; export declare type Match = { values: string[]; matching: T[]; }; export declare type Filters = { [K in keyof T]: Filter; }; export declare type Matches = { [K in keyof T]: Match; }; export declare function validateFilter(mode: string, value: string): Filter; export declare function notEmpty(value: TValue | null | undefined): value is TValue; //# sourceMappingURL=filter.d.ts.map