declare const StorageError_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: "StorageError";
} & Readonly;
export declare class StorageError extends StorageError_base<{
readonly path: string;
readonly operation: "read" | "write" | "watch" | "delete" | "list";
readonly message: string;
readonly cause?: unknown;
}> {
}
declare const SerializationError_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: "SerializationError";
} & Readonly;
export declare class SerializationError extends SerializationError_base<{
readonly format: string;
readonly message: string;
readonly cause?: unknown;
}> {
}
declare const UnsupportedFormatError_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: "UnsupportedFormatError";
} & Readonly;
export declare class UnsupportedFormatError extends UnsupportedFormatError_base<{
readonly format: string;
readonly message: string;
}> {
}
export type PersistenceError = StorageError | SerializationError | UnsupportedFormatError;
export {};
//# sourceMappingURL=storage-errors.d.ts.map