declare const DanglingReferenceError_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "DanglingReferenceError"; } & Readonly; export declare class DanglingReferenceError extends DanglingReferenceError_base<{ readonly collection: string; readonly field: string; readonly targetId: string; readonly message: string; }> { } declare const CollectionNotFoundError_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "CollectionNotFoundError"; } & Readonly; export declare class CollectionNotFoundError extends CollectionNotFoundError_base<{ readonly collection: string; readonly message: string; }> { } declare const PopulationError_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & { readonly _tag: "PopulationError"; } & Readonly; export declare class PopulationError extends PopulationError_base<{ readonly collection: string; readonly relationship: string; readonly message: string; readonly cause?: unknown; }> { } export type QueryError = DanglingReferenceError | CollectionNotFoundError | PopulationError; export {}; //# sourceMappingURL=query-errors.d.ts.map