import { PagedAsyncIterableIterator } from "@azure/core-paging";
import { WorkspaceProductApiLink } from "../operationsInterfaces/index.js";
import { ApiManagementClient } from "../apiManagementClient.js";
import { ProductApiLinkContract, WorkspaceProductApiLinkListByProductOptionalParams, WorkspaceProductApiLinkGetOptionalParams, WorkspaceProductApiLinkGetResponse, WorkspaceProductApiLinkCreateOrUpdateOptionalParams, WorkspaceProductApiLinkCreateOrUpdateResponse, WorkspaceProductApiLinkDeleteOptionalParams } from "../models/index.js";
/** Class containing WorkspaceProductApiLink operations. */
export declare class WorkspaceProductApiLinkImpl implements WorkspaceProductApiLink {
    private readonly client;
    /**
     * Initialize a new instance of the class WorkspaceProductApiLink class.
     * @param client Reference to the service client
     */
    constructor(client: ApiManagementClient);
    /**
     * Lists a collection of the API 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?: WorkspaceProductApiLinkListByProductOptionalParams): PagedAsyncIterableIterator<ProductApiLinkContract>;
    private listByProductPagingPage;
    private listByProductPagingAll;
    /**
     * Lists a collection of the API 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.
     */
    private _listByProduct;
    /**
     * Gets the API 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 apiLinkId Product-API 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, apiLinkId: string, options?: WorkspaceProductApiLinkGetOptionalParams): Promise<WorkspaceProductApiLinkGetResponse>;
    /**
     * Adds an API 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 apiLinkId Product-API 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, apiLinkId: string, parameters: ProductApiLinkContract, options?: WorkspaceProductApiLinkCreateOrUpdateOptionalParams): Promise<WorkspaceProductApiLinkCreateOrUpdateResponse>;
    /**
     * Deletes the specified API 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 apiLinkId Product-API 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, apiLinkId: string, options?: WorkspaceProductApiLinkDeleteOptionalParams): Promise<void>;
    /**
     * ListByProductNext
     * @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 nextLink The nextLink from the previous successful call to the ListByProduct method.
     * @param options The options parameters.
     */
    private _listByProductNext;
}
//# sourceMappingURL=workspaceProductApiLink.d.ts.map