import { CreateExternalDatabaseConnectionRequest, CreateExternalDatabaseConnectionResponse, DeleteExternalDatabaseConnectionRequest, DeleteExternalDatabaseConnectionResponse, GetExternalDatabaseConnectionRequest, GetExternalDatabaseConnectionResponse, ListExternalDatabaseConnectionsRequest, ListExternalDatabaseConnectionsResponse, UpdateExternalDatabaseConnectionRequest, UpdateExternalDatabaseConnectionResponse } from './types.impl.js';
import * as wrapper from './proto/proto-generated.js';
declare const ExternalDatabaseConnectionService: typeof wrapper.com.wixpress.cloud.data.api.externaldatabase.ExternalDatabaseConnectionService;
export type RequestOptions<T = any, U = any> = {
    _?: T;
    requestData: any;
    serviceArtifactId: string;
    serviceProtoClass: U;
    methodName: string;
};
/** Retrieves the specified external database connection. */
export declare function getExternalDatabaseConnection(payload: GetExternalDatabaseConnectionRequest): RequestOptions<GetExternalDatabaseConnectionResponse, typeof ExternalDatabaseConnectionService>;
/** Lists all of the site's external database connections of all adaptor types. */
export declare function listExternalDatabaseConnections(payload: ListExternalDatabaseConnectionsRequest): RequestOptions<ListExternalDatabaseConnectionsResponse, typeof ExternalDatabaseConnectionService>;
/**
 * Creates a new external database connection.
 *
 * Before you can establish a connection between a site and an external database, you must prepare an external database adaptor.
 */
export declare function createExternalDatabaseConnection(payload: CreateExternalDatabaseConnectionRequest): RequestOptions<CreateExternalDatabaseConnectionResponse, typeof ExternalDatabaseConnectionService>;
/**
 * Updates an external database connection.
 *
 * > **Note:** After an external database connection is updated, it only contains the values provided in the request. All previous values are lost.
 */
export declare function updateExternalDatabaseConnection(payload: UpdateExternalDatabaseConnectionRequest): RequestOptions<UpdateExternalDatabaseConnectionResponse, typeof ExternalDatabaseConnectionService>;
/**
 * Deletes an external database connection.
 *
 * > **Note:** Once an external database connection is deleted, it can't be restored. To reconnect the database, create a new external database connection.
 */
export declare function deleteExternalDatabaseConnection(payload: DeleteExternalDatabaseConnectionRequest): RequestOptions<DeleteExternalDatabaseConnectionResponse, typeof ExternalDatabaseConnectionService>;
export {};
