import type { BidirectionalRpcResponseErr, IdLessRpcResponseErr } from "@tai-kun/surrealdb/types";
import { ServerResponseError } from "./engine";
import { CircularReferenceError, SurrealAggregateError, SurrealError, type SurrealErrorOptions } from "./general";
/**
 * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/guides/errors/#circularenginereferenceerror)
 */
export declare class CircularEngineReferenceError extends CircularReferenceError {
    reference: string;
    seen: string[];
    constructor(seen: Iterable<string>, options?: SurrealErrorOptions | undefined);
}
/**
 * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/guides/errors/#enginenotfounderror)
 */
export declare class EngineNotFoundError extends SurrealError {
    scheme: string;
    constructor(scheme: string, options?: SurrealErrorOptions | undefined);
}
/**
 * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/guides/errors/#connectionconflicterror)
 */
export declare class ConnectionConflictError extends SurrealError {
    endpoint1: string;
    endpoint2: string;
    constructor(endpoint1: unknown, endpoint2: unknown, options?: SurrealErrorOptions | undefined);
}
/**
 * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/guides/errors/#missingnamespaceerror)
 */
export declare class MissingNamespaceError extends SurrealError {
    database: string;
    constructor(database: string, options?: SurrealErrorOptions | undefined);
}
/**
 * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/guides/errors/#rpcresponseerror)
 */
export declare class RpcResponseError extends ServerResponseError {
    id?: BidirectionalRpcResponseErr["id"];
    code: BidirectionalRpcResponseErr["error"]["code"];
    constructor(response: IdLessRpcResponseErr | BidirectionalRpcResponseErr, options?: SurrealErrorOptions | undefined);
}
/**
 * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/guides/errors/#queryfailederror)
 */
export declare class QueryFailedError extends SurrealAggregateError {
    cause: string[];
    constructor(errors: readonly string[]);
}
/**
 * [API Reference](https://tai-kun.github.io/surrealdb.js/v2/guides/errors/#closeed)
 */
export declare class Closed extends SurrealError {
}
//# sourceMappingURL=client.d.ts.map