import type { StoreContext } from '../../chatkit/store'; import type { AIConnectionInvocationConfig } from '../../../agents/types'; import { type GatewayDeployment, type InvocationTokenCodec } from './InvocationTokenCodec'; export interface AiConnectionsInvocationKeyIssuerOptions { codec: InvocationTokenCodec; deployment: GatewayDeployment; baseUrl: string; audience?: string; issuer?: string; ttlMs?: number; reuseSafetyMarginMs?: number; maxCacheEntries?: number; now?: () => Date; } /** * Produces a short-lived stateless Gateway token at the trusted execution * boundary. Nothing is persisted; plaintext exists solely in process memory * and the returned invocation context. */ export declare class AiConnectionsInvocationKeyIssuer { private readonly codec; private readonly deployment; private readonly baseUrl; private readonly audience; private readonly issuer; private readonly ttlMs; private readonly reuseSafetyMarginMs; private readonly maxCacheEntries; private readonly now; private readonly cache; private readonly pending; constructor(options: AiConnectionsInvocationKeyIssuerOptions); issue(context: StoreContext): Promise; issueClientConfiguration(context: StoreContext): Promise; private issueScoped; private createInvocation; private toInvocationConfig; private pruneCache; }