import type { CosmosDBManagementContext } from "../../api/cosmosDBManagementContext.js"; import type { ServiceListOptionalParams, ServiceDeleteOptionalParams, ServiceCreateOptionalParams, ServiceGetOptionalParams } from "../../api/service/options.js"; import type { ServiceResource, ServiceResourceCreateUpdateParameters } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { SimplePollerLike } from "../../static-helpers/simplePollerHelpers.js"; import type { PollerLike, OperationState } from "@azure/core-lro"; /** Interface representing a Service operations. */ export interface ServiceOperations { /** Gets the status of service. */ list: (resourceGroupName: string, accountName: string, options?: ServiceListOptionalParams) => PagedAsyncIterableIterator; /** Deletes service with the given serviceName. */ delete: (resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceDeleteOptionalParams) => PollerLike, void>; /** @deprecated use delete instead */ beginDelete: (resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceDeleteOptionalParams) => Promise, void>>; /** @deprecated use delete instead */ beginDeleteAndWait: (resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceDeleteOptionalParams) => Promise; /** Creates a service. */ create: (resourceGroupName: string, accountName: string, serviceName: string, createUpdateParameters: ServiceResourceCreateUpdateParameters, options?: ServiceCreateOptionalParams) => PollerLike, ServiceResource>; /** @deprecated use create instead */ beginCreate: (resourceGroupName: string, accountName: string, serviceName: string, createUpdateParameters: ServiceResourceCreateUpdateParameters, options?: ServiceCreateOptionalParams) => Promise, ServiceResource>>; /** @deprecated use create instead */ beginCreateAndWait: (resourceGroupName: string, accountName: string, serviceName: string, createUpdateParameters: ServiceResourceCreateUpdateParameters, options?: ServiceCreateOptionalParams) => Promise; /** Gets the status of service. */ get: (resourceGroupName: string, accountName: string, serviceName: string, options?: ServiceGetOptionalParams) => Promise; } export declare function _getServiceOperations(context: CosmosDBManagementContext): ServiceOperations; //# sourceMappingURL=index.d.ts.map