import { CouchbaseClusterTypes, DefaultClusterTypes } from '@cbjsdev/shared'; import { Cluster, ConnectOptions } from './cluster.js'; import { NodeCallback } from './utilities.js'; /** * Acts as the entrypoint into the rest of the library. Connecting to the cluster * and exposing the various services and features. * * @param connStr The connection string to use to connect to the cluster. * @param options Optional parameters for this operation. * @param callback A node-style callback to be invoked after execution. * @throws AuthenticationFailureError * @category Core */ export declare function connect(connStr: `couchbase://` | (string & NonNullable), options?: ConnectOptions, callback?: NodeCallback>): Promise>; /** * Exposes the underlying couchbase++ library version that is being used by the * SDK to perform I/O with the cluster. * * @deprecated Use {@link cbppVersion} instead. */ export declare const lcbVersion: string; /** * Exposes the underlying couchbase++ library version that is being used by the * SDK to perform I/O with the cluster. */ export declare const cbppVersion: string; export declare const cbppMetadata: string; /** * Volatile: This API is subject to change at any time. * * Exposes the underlying couchbase++ library protocol logger. This method is for * logging/debugging purposes and must be used with caution as network details will * be logged to the provided file. */ export declare function enableProtocolLoggerToSaveNetworkTrafficToFile(filename: string): void; /** * Volatile: This API is subject to change at any time. * * Shutdowns the underlying couchbase++ logger. * */ export declare function shutdownLogger(): void;