import { type BriefApiClientOptions } from "./api/types.js"; /** Options for {@link resolveBriefClient}. */ export interface ResolveBriefClientOptions { /** 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 Brief API client plus the organization it is bound to. */ export interface ResolvedBriefClient { client: BriefApiClientOptions; orgId: string; } /** * Resolve a ready-to-use Brief API client for an organization. * * Resolves the org, acquires a `co.briefs:*`-scoped token (minted from * the org's automation client), and region-resolves the API host from * the org id (an env profile may pin `briefBaseUrl` to override it). * Because the brief token is scope-restricted, the region lookup mints * a separate no-scope M2M token. */ export declare const resolveBriefClient: (options?: ResolveBriefClientOptions) => Promise;