declare const MigrationError_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: "MigrationError";
} & Readonly;
/**
* Error thrown when a schema migration fails.
*
* The `step` field indicates where the failure occurred:
* - `step >= 0`: The transform at that index in the migration chain failed
* - `step === -1`: Post-migration schema validation failed
*/
export declare class MigrationError extends MigrationError_base<{
readonly collection: string;
readonly fromVersion: number;
readonly toVersion: number;
readonly step: number;
readonly reason: string;
readonly message: string;
}> {
}
export type MigrationErrors = MigrationError;
export {};
//# sourceMappingURL=migration-errors.d.ts.map