import { type CampaignApiClientOptions } from "./api/types.js"; /** Options for {@link resolveCampaignClient}. */ export interface ResolveCampaignClientOptions { /** Explicit organization id; resolved from the env profile otherwise. */ orgId?: string; /** Environment profile name — used only to derive its `organizationId`. */ environmentName?: string; /** Base directory for resolving `sitecoreai.cli.json`; defaults to cwd. */ config?: string; } /** A resolved Campaign API client plus the organization it is bound to. */ export interface ResolvedCampaignClient { client: CampaignApiClientOptions; orgId: string; } /** * Resolve a ready-to-use Campaign (Orchestrate) API client. * * Resolves the organization, acquires an Orchestrate-scoped token via the * org's AI APIs key, and region-resolves the API host from the org id * (an env profile may pin `campaignBaseUrl` to override it). The AI APIs * key may lack `platform.tenants:listall`, so region resolution is * best-effort and falls back to the default region. */ export declare const resolveCampaignClient: (options?: ResolveCampaignClientOptions) => Promise;