import type { ProjectContext } from '../../../project'; import { Task } from '../../../task'; import type { OperationSchema } from '../../build-tool'; import type { FirestorePropKey } from '../properties'; export declare class FirestoreSchemaError extends Error { readonly cause?: unknown | undefined; readonly _tag: "FirestoreSchemaError"; constructor(message: string, cause?: unknown | undefined); } export declare const GET_COLLECTION_SCHEMA: "get_collection_schema"; export declare const getCollectionSchemaOp: OperationSchema; export interface GetCollectionSchemaArgs { collection: string; sampleSize?: number; } export interface FieldSchema { types: string[]; coverage: string; } export declare const getCollectionSchema: (ctx: ProjectContext, input: GetCollectionSchemaArgs) => Task<{ collection: string; totalSampled: number; sampleStrategy: string; fields: Record; }, import("../../../project").AccessDeniedError | FirestoreSchemaError>; //# sourceMappingURL=get_collection_schema.d.ts.map