import type { CostManagementContext as Client } from "../index.js"; import type { CostAllocationRuleDefinition, _CostAllocationRuleList, CostAllocationRuleCheckNameAvailabilityRequest, CostAllocationRuleCheckNameAvailabilityResponse } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { CostAllocationRulesCheckNameAvailabilityOptionalParams, CostAllocationRulesListOptionalParams, CostAllocationRulesDeleteOptionalParams, CostAllocationRulesCreateOrUpdateOptionalParams, CostAllocationRulesGetOptionalParams } from "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; export declare function _checkNameAvailabilitySend(context: Client, billingAccountId: string, costAllocationRuleCheckNameAvailabilityRequest: CostAllocationRuleCheckNameAvailabilityRequest, options?: CostAllocationRulesCheckNameAvailabilityOptionalParams): StreamableMethod; export declare function _checkNameAvailabilityDeserialize(result: PathUncheckedResponse): Promise; /** Checks availability and correctness of a name for a cost allocation rule */ export declare function checkNameAvailability(context: Client, billingAccountId: string, costAllocationRuleCheckNameAvailabilityRequest: CostAllocationRuleCheckNameAvailabilityRequest, options?: CostAllocationRulesCheckNameAvailabilityOptionalParams): Promise; export declare function _listSend(context: Client, billingAccountId: string, options?: CostAllocationRulesListOptionalParams): StreamableMethod; export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_CostAllocationRuleList>; /** Get the list of all cost allocation rules for a billing account or enterprise enrollment. */ export declare function list(context: Client, billingAccountId: string, options?: CostAllocationRulesListOptionalParams): PagedAsyncIterableIterator; export declare function _$deleteSend(context: Client, billingAccountId: string, ruleName: string, options?: CostAllocationRulesDeleteOptionalParams): StreamableMethod; export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise; /** Delete cost allocation rule for billing account or enterprise enrollment. */ export declare function $delete(context: Client, billingAccountId: string, ruleName: string, options?: CostAllocationRulesDeleteOptionalParams): Promise; export declare function _createOrUpdateSend(context: Client, billingAccountId: string, ruleName: string, costAllocationRule: CostAllocationRuleDefinition, options?: CostAllocationRulesCreateOrUpdateOptionalParams): StreamableMethod; export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise; /** Create/Update a rule to allocate cost between different resources within a billing account or enterprise enrollment. */ export declare function createOrUpdate(context: Client, billingAccountId: string, ruleName: string, costAllocationRule: CostAllocationRuleDefinition, options?: CostAllocationRulesCreateOrUpdateOptionalParams): Promise; export declare function _getSend(context: Client, billingAccountId: string, ruleName: string, options?: CostAllocationRulesGetOptionalParams): StreamableMethod; export declare function _getDeserialize(result: PathUncheckedResponse): Promise; /** Get a cost allocation rule by rule name and billing account or enterprise enrollment. */ export declare function get(context: Client, billingAccountId: string, ruleName: string, options?: CostAllocationRulesGetOptionalParams): Promise; //# sourceMappingURL=operations.d.ts.map