import type { AIProjectContext } from "../../api/aiProjectContext.js"; import type { ConnectionsListOptionalParams, ConnectionsGetWithCredentialsOptionalParams, ConnectionsGetOptionalParams, ConnectionsGetDefaultOptionalParams } from "../../api/connections/options.js"; import type { Connection, ConnectionType } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "@azure/core-paging"; /** Interface representing a Connections operations. */ export interface ConnectionsOperations { /** List all connections in the project, without populating connection credentials */ list: (options?: ConnectionsListOptionalParams) => PagedAsyncIterableIterator; /** Get a connection by name, with its connection credentials */ getWithCredentials: (name: string, options?: ConnectionsGetWithCredentialsOptionalParams) => Promise; /** Get a connection by name, without populating connection credentials */ get: (name: string, options?: ConnectionsGetOptionalParams) => Promise; /** Get the default connection for the project */ getDefault: (connectionType: ConnectionType, options?: ConnectionsGetDefaultOptionalParams) => Promise; } export declare function _getConnectionsOperations(context: AIProjectContext): ConnectionsOperations; //# sourceMappingURL=index.d.ts.map