import { recommendCandidate, type DecisionResult } from './decision'; import { type JevDecisionPurpose } from './jev'; export interface AIDecisionConfig { enabled: boolean; provider?: 'typesafe'; model?: string; apiKey?: string; timeoutMs?: number; } export type DecisionRequest = Omit[0], 'provider' | 'timeoutMs'> & { /** Trusted host contract, not a model-selected mode. Defaults to entity selection. */ purpose?: JevDecisionPurpose; }; export interface DecisionClient { readonly provider: 'typesafe'; readonly model: string; readonly timeoutMs: number; recommend(request: DecisionRequest): Promise; } /** Validate once on construction. Errors never include supplied values or secrets. */ export declare function createConfiguredDecisionClient(config: AIDecisionConfig | null | undefined): DecisionClient | undefined; /** Server configuration only; constructing this client performs no network request and does not cache credentials. */ export declare function getDefaultDecisionClient(): DecisionClient | undefined;