import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { ProductGroupLinkContract, WorkspaceProductGroupLinkListByProductOptionalParams, WorkspaceProductGroupLinkGetOptionalParams, WorkspaceProductGroupLinkGetResponse, WorkspaceProductGroupLinkCreateOrUpdateOptionalParams, WorkspaceProductGroupLinkCreateOrUpdateResponse, WorkspaceProductGroupLinkDeleteOptionalParams } from "../models/index.js";
/** Interface representing a WorkspaceProductGroupLink. */
export interface WorkspaceProductGroupLink {
    /**
     * Lists a collection of the group links associated with a product.
     * @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 productId Product identifier. Must be unique in the current API Management service instance.
     * @param options The options parameters.
     */
    listByProduct(resourceGroupName: string, serviceName: string, workspaceId: string, productId: string, options?: WorkspaceProductGroupLinkListByProductOptionalParams): PagedAsyncIterableIterator<ProductGroupLinkContract>;
    /**
     * Gets the group link for the product.
     * @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 productId Product identifier. Must be unique in the current API Management service instance.
     * @param groupLinkId Product-Group link identifier. Must be unique in the current API Management
     *                    service instance.
     * @param options The options parameters.
     */
    get(resourceGroupName: string, serviceName: string, workspaceId: string, productId: string, groupLinkId: string, options?: WorkspaceProductGroupLinkGetOptionalParams): Promise<WorkspaceProductGroupLinkGetResponse>;
    /**
     * Adds a group to the specified product via link.
     * @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 productId Product identifier. Must be unique in the current API Management service instance.
     * @param groupLinkId Product-Group link identifier. Must be unique in the current API Management
     *                    service instance.
     * @param parameters Create or update parameters.
     * @param options The options parameters.
     */
    createOrUpdate(resourceGroupName: string, serviceName: string, workspaceId: string, productId: string, groupLinkId: string, parameters: ProductGroupLinkContract, options?: WorkspaceProductGroupLinkCreateOrUpdateOptionalParams): Promise<WorkspaceProductGroupLinkCreateOrUpdateResponse>;
    /**
     * Deletes the specified group from the specified product.
     * @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 productId Product identifier. Must be unique in the current API Management service instance.
     * @param groupLinkId Product-Group link identifier. Must be unique in the current API Management
     *                    service instance.
     * @param options The options parameters.
     */
    delete(resourceGroupName: string, serviceName: string, workspaceId: string, productId: string, groupLinkId: string, options?: WorkspaceProductGroupLinkDeleteOptionalParams): Promise<void>;
}
//# sourceMappingURL=workspaceProductGroupLink.d.ts.map