import { SurrealError, type SurrealErrorOptions } from "./general";
/**
 * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/guides/errors/#cborerror)
 */
export declare class CborError extends SurrealError {
}
/**
 * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/guides/errors/#cborwellformednesserror)
 */
export declare class CborWellFormednessError extends CborError {
}
/**
 * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/guides/errors/#cbortoomuchdataerror)
 */
export declare class CborTooMuchDataError extends CborWellFormednessError {
    constructor(options?: SurrealErrorOptions | undefined);
}
/**
 * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/guides/errors/#cbortoolittledataerror)
 */
export declare class CborTooLittleDataError extends CborWellFormednessError {
    constructor(options?: SurrealErrorOptions | undefined);
}
/**
 * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/guides/errors/#cborsyntaxerror)
 */
export declare class CborSyntaxError extends CborWellFormednessError {
}
/**
 * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/guides/errors/#cbormaxdepthreachederror)
 */
export declare class CborMaxDepthReachedError extends CborError {
    maxDepth: number;
    constructor(maxDepth: number, options?: SurrealErrorOptions | undefined);
}
/**
 * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/guides/errors/#cborunsafemapkeyerror)
 */
export declare class CborUnsafeMapKeyError extends CborError {
    key: unknown;
    constructor(key: unknown, options?: SurrealErrorOptions | undefined);
}
export declare class CborDecodeStreamAbortFailedError extends CborError {
    cause: unknown[];
    constructor(errors: readonly unknown[], options?: Omit<SurrealErrorOptions, "cause"> | undefined);
}
export declare class CborMemoryError extends CborError {
}
export declare class CborMemoryBlockError extends CborError {
}
type MemoryAddress = string | number;
export declare class CborMemoryBlockConflictError extends CborMemoryBlockError {
    address: MemoryAddress;
    expectedSize: number;
    actualSize: number;
    constructor(address: MemoryAddress, expectedSize: number, actualSize: number);
}
export declare class CborMemoryBlockInUseError extends CborMemoryBlockError {
}
export declare class CborUndefinedMemoryBlockError extends CborMemoryBlockError {
    address: MemoryAddress;
    constructor(address: MemoryAddress);
}
export {};
//# sourceMappingURL=cbor.d.ts.map