import type { ProjectContext } from '../../../project'; import { Task } from '../../../task'; import type { OperationSchema } from '../../build-tool'; import type { FirestorePropKey } from '../properties'; export declare class FirestoreReadError extends Error { readonly cause?: unknown | undefined; readonly _tag: "FirestoreReadError"; constructor(message: string, cause?: unknown | undefined); } export declare const READ_COLLECTION: "read_collection"; export declare const readCollectionOp: OperationSchema; export interface ReadCollectionArgs { collection: string; limit?: number; select?: string[]; includePhantoms?: boolean; startAfter?: string; } export declare const readCollection: (ctx: ProjectContext, input: ReadCollectionArgs) => Task<{ documents: { id: string; path: string; data: unknown; }[]; phantoms: { id: string; path: string; }[]; nextPageCursor?: undefined; } | { documents: { id: string; path: string; data: unknown; }[]; nextPageCursor: string | null; phantoms?: undefined; }, import("../../../project").AccessDeniedError | FirestoreReadError>; //# sourceMappingURL=read_collections.d.ts.map