import { FieldPath } from './field-path.js'; import type { WhereOp } from './rest/query-encoding.js'; export type FilterNode = { kind: 'field'; fieldPath: string; op: WhereOp; value: unknown; } | { kind: 'composite'; op: 'AND' | 'OR'; filters: FilterNode[]; }; export declare class Filter { private readonly node; private constructor(); static where(fieldPath: string | FieldPath, op: WhereOp, value: unknown): Filter; static or(...filters: Filter[]): Filter; static and(...filters: Filter[]): Filter; _toFilterNode(): FilterNode; } //# sourceMappingURL=filter.d.ts.map