export declare class ConverterError extends Error {
    code: string;
    cause?: Error | undefined;
    constructor(code: string, msg: string, cause?: Error | undefined);
    static unexpectedBufferSize(expected: number, buffer: Uint8Array): ConverterError;
    static nullBufferError(msg: string): ConverterError;
}
export declare namespace ConverterError {
    enum Code {
        UnexpectedBufferSizeError = "UnexpectedBufferSizeError",
        NullBufferError = "NullBufferError"
    }
}
