import type { ProjectContext } from '../../../project'; import { Task } from '../../../task'; import type { OperationSchema } from '../../build-tool'; import type { FirestorePropKey } from '../properties'; export declare class FirestoreGetError extends Error { readonly cause?: unknown | undefined; readonly _tag: "FirestoreGetError"; constructor(message: string, cause?: unknown | undefined); } export declare class DocumentNotFoundError extends Error { readonly path: string; readonly _tag: "DocumentNotFoundError"; constructor(path: string); } export declare const GET_DOCUMENT: "get_document"; export declare const getDocumentOp: OperationSchema; export interface GetDocumentArgs { path: string; select?: string[]; } export declare const getDocument: (ctx: ProjectContext, input: GetDocumentArgs) => Task<{ collections: string[]; id: string; path: string; data: unknown; }, import("../../../project").AccessDeniedError | FirestoreGetError | DocumentNotFoundError>; //# sourceMappingURL=get_document.d.ts.map