import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { WorkspacePolicy } from "../operationsInterfaces/index.js";
import { ApiManagementClient } from "../apiManagementClient.js";
import { PolicyContract, WorkspacePolicyListByApiOptionalParams, PolicyIdName, WorkspacePolicyGetEntityTagOptionalParams, WorkspacePolicyGetEntityTagResponse, WorkspacePolicyGetOptionalParams, WorkspacePolicyGetResponse, WorkspacePolicyCreateOrUpdateOptionalParams, WorkspacePolicyCreateOrUpdateResponse, WorkspacePolicyDeleteOptionalParams } from "../models/index.js";
/** Class containing WorkspacePolicy operations. */
export declare class WorkspacePolicyImpl implements WorkspacePolicy {
    private readonly client;
    /**
     * Initialize a new instance of the class WorkspacePolicy class.
     * @param client Reference to the service client
     */
    constructor(client: ApiManagementClient);
    /**
     * Get the policy configuration at the workspace level.
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param serviceName The name of the API Management service.
     * @param workspaceId Workspace identifier. Must be unique in the current API Management service
     *                    instance.
     * @param options The options parameters.
     */
    listByApi(resourceGroupName: string, serviceName: string, workspaceId: string, options?: WorkspacePolicyListByApiOptionalParams): PagedAsyncIterableIterator<PolicyContract>;
    private listByApiPagingPage;
    private listByApiPagingAll;
    /**
     * Get the policy configuration at the workspace level.
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param serviceName The name of the API Management service.
     * @param workspaceId Workspace identifier. Must be unique in the current API Management service
     *                    instance.
     * @param options The options parameters.
     */
    private _listByApi;
    /**
     * Gets the entity state (Etag) version of the workspace policy specified by its identifier.
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param serviceName The name of the API Management service.
     * @param workspaceId Workspace identifier. Must be unique in the current API Management service
     *                    instance.
     * @param policyId The identifier of the Policy.
     * @param options The options parameters.
     */
    getEntityTag(resourceGroupName: string, serviceName: string, workspaceId: string, policyId: PolicyIdName, options?: WorkspacePolicyGetEntityTagOptionalParams): Promise<WorkspacePolicyGetEntityTagResponse>;
    /**
     * Get the policy configuration at the API level.
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param serviceName The name of the API Management service.
     * @param workspaceId Workspace identifier. Must be unique in the current API Management service
     *                    instance.
     * @param policyId The identifier of the Policy.
     * @param options The options parameters.
     */
    get(resourceGroupName: string, serviceName: string, workspaceId: string, policyId: PolicyIdName, options?: WorkspacePolicyGetOptionalParams): Promise<WorkspacePolicyGetResponse>;
    /**
     * Creates or updates policy configuration for the workspace.
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param serviceName The name of the API Management service.
     * @param workspaceId Workspace identifier. Must be unique in the current API Management service
     *                    instance.
     * @param policyId The identifier of the Policy.
     * @param parameters The policy contents to apply.
     * @param options The options parameters.
     */
    createOrUpdate(resourceGroupName: string, serviceName: string, workspaceId: string, policyId: PolicyIdName, parameters: PolicyContract, options?: WorkspacePolicyCreateOrUpdateOptionalParams): Promise<WorkspacePolicyCreateOrUpdateResponse>;
    /**
     * Deletes the policy configuration at the workspace.
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param serviceName The name of the API Management service.
     * @param workspaceId Workspace identifier. Must be unique in the current API Management service
     *                    instance.
     * @param policyId The identifier of the Policy.
     * @param ifMatch ETag of the Entity. ETag should match the current entity state from the header
     *                response of the GET request or it should be * for unconditional update.
     * @param options The options parameters.
     */
    delete(resourceGroupName: string, serviceName: string, workspaceId: string, policyId: PolicyIdName, ifMatch: string, options?: WorkspacePolicyDeleteOptionalParams): Promise<void>;
    /**
     * ListByApiNext
     * @param resourceGroupName The name of the resource group. The name is case insensitive.
     * @param serviceName The name of the API Management service.
     * @param workspaceId Workspace identifier. Must be unique in the current API Management service
     *                    instance.
     * @param nextLink The nextLink from the previous successful call to the ListByApi method.
     * @param options The options parameters.
     */
    private _listByApiNext;
}
//# sourceMappingURL=workspacePolicy.d.ts.map