import type { CommonHttpClientFetchRequest, CommonHttpClientFetchResponse } from "api-typescript-generator/openapi-client"; import type { AddOn } from "atlassian-connect-express"; /** * ACE-based API client options. * * @category API Client Constructor Options */ export interface ApiClientAceOptions { /** * ACE instance. */ ace: AddOn; /** * ACE client key. */ clientKey: string; /** * ACE user account ID. If not provided, the request will be made on behalf of the add-on. */ userAccountId?: string; } /** * Creates a fetch function for ACE-based API client. */ export declare function createAceFetch({ ace, clientKey, userAccountId, }: ApiClientAceOptions): (url: URL, request: CommonHttpClientFetchRequest) => Promise;