export interface FilterCondition { field: string; op: '=' | '!=' | '>' | '<' | '>=' | '<=' | 'LIKE'; value: string | number; } export declare function applyFilters>(items: T[], filters?: FilterCondition[]): T[]; export declare function applySort>(items: T[], sort?: { field: string; direction: 'asc' | 'desc'; }): T[]; export declare const MAX_PAGINATION_PAGES = 50; export declare function paginate(fetchPage: (resumeToken: string | undefined) => Promise<{ results?: T[]; resumeToken?: string | null; }>, opts?: { maxPages?: number; label?: string; }): Promise; /** Variadic sum of decimal-string bigints. Returns undefined if nothing parsed (vs. all-zero). */ export declare function sumBigStrings(...xs: (string | undefined | null)[]): string | undefined; /** Always returns bigint (even on empty). Use sumBigStrings when "no inputs" must differ from zero. */ export declare function sumBigInts(xs: (string | undefined)[]): bigint; //# sourceMappingURL=collections.d.ts.map