import * as Errors from '../../Errors.js';
/**
 * Shared `SizeOverflowError` class for `Bytes` and `Hex`. The `name` is
 * passed at construction time so a single class identity backs both
 * `Bytes.SizeOverflowError` and `Hex.SizeOverflowError` re-exports without
 * forcing `Bytes` and `Hex` to import each other at runtime.
 *
 * @internal
 */
export declare class BytesSizeOverflowError extends Errors.BaseError {
    readonly name = "Bytes.SizeOverflowError";
    constructor({ givenSize, maxSize }: {
        givenSize: number;
        maxSize: number;
    });
}
/** @internal */
export declare class HexSizeOverflowError extends Errors.BaseError {
    readonly name = "Hex.SizeOverflowError";
    constructor({ givenSize, maxSize }: {
        givenSize: number;
        maxSize: number;
    });
}
//# sourceMappingURL=errors.d.ts.map