/** What the store compares a `where` against: text only, since the index stores every value as text. */ export type EponymeStoreFilterCondition = string | string[] | { gte?: string; lte?: string; gt?: string; lt?: string; contains?: string; in?: string[]; not?: string[]; }; /** * The query and the cache key come from one sorted walk on purpose: a key that missed part of the filter * would let two listings share a cache entry, which reads as a filter that randomly stops working. */ export declare function serializeEponymeFilter(where: Record | undefined): { query: Record; key: string; }; /** The typed `where` reduced to the text the index stores, which is what the store compares against. */ export declare function toEponymeStoreFilter(where: Record | undefined): Record | undefined;