import IndexError from './IndexError.ts';
interface StorageErrorOptions {
    readonly operation?: string;
    readonly oid?: string;
    readonly cause?: Error;
    readonly context?: Record<string, unknown>;
}
/**
 * Error thrown when a storage operation fails.
 *
 * StorageError extends IndexError because storage errors originate from
 * index operations. This hierarchy is intentional -- IndexError provides
 * the storage-specific error context.
 */
export default class StorageError extends IndexError {
    readonly operation: string | undefined;
    readonly oid: string | undefined;
    cause: Error | undefined;
    constructor(message: string, options?: StorageErrorOptions);
}
export {};
