import type { SqlManagementContext as Client } from "../index.js"; import type { WorkloadGroup, _WorkloadGroupListResult } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { WorkloadGroupsListByDatabaseOptionalParams, WorkloadGroupsDeleteOptionalParams, WorkloadGroupsCreateOrUpdateOptionalParams, WorkloadGroupsGetOptionalParams } from "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; import type { PollerLike, OperationState } from "@azure/core-lro"; export declare function _listByDatabaseSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, options?: WorkloadGroupsListByDatabaseOptionalParams): StreamableMethod; export declare function _listByDatabaseDeserialize(result: PathUncheckedResponse): Promise<_WorkloadGroupListResult>; /** Gets the list of workload groups */ export declare function listByDatabase(context: Client, resourceGroupName: string, serverName: string, databaseName: string, options?: WorkloadGroupsListByDatabaseOptionalParams): PagedAsyncIterableIterator; export declare function _$deleteSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: WorkloadGroupsDeleteOptionalParams): StreamableMethod; export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise; /** Deletes a workload group. */ export declare function $delete(context: Client, resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: WorkloadGroupsDeleteOptionalParams): PollerLike, void>; export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, parameters: WorkloadGroup, options?: WorkloadGroupsCreateOrUpdateOptionalParams): StreamableMethod; export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise; /** Creates or updates a workload group. */ export declare function createOrUpdate(context: Client, resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, parameters: WorkloadGroup, options?: WorkloadGroupsCreateOrUpdateOptionalParams): PollerLike, WorkloadGroup>; export declare function _getSend(context: Client, resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: WorkloadGroupsGetOptionalParams): StreamableMethod; export declare function _getDeserialize(result: PathUncheckedResponse): Promise; /** Gets a workload group */ export declare function get(context: Client, resourceGroupName: string, serverName: string, databaseName: string, workloadGroupName: string, options?: WorkloadGroupsGetOptionalParams): Promise; //# sourceMappingURL=operations.d.ts.map