import IndexError from './IndexError.ts';
interface ShardCorruptionErrorOptions {
    readonly shardPath?: string;
    readonly oid?: string;
    readonly reason?: string;
    readonly context?: Record<string, unknown>;
}
/**
 * Error thrown when shard data is corrupted or invalid.
 *
 * This error indicates that a shard file contains invalid or corrupted data,
 * such as invalid checksums, unsupported versions, or malformed content.
 */
export default class ShardCorruptionError extends IndexError {
    readonly shardPath: string | undefined;
    readonly oid: string | undefined;
    readonly reason: string | undefined;
    constructor(message: string, options?: ShardCorruptionErrorOptions);
}
export {};
