import { type GenerateOptions } from '@deepseek-ai/dsh-llm'; import type { Session } from '@deepseek-ai/dsh-session'; import type { EnforcedDecision } from './decision.js'; import type { ResolvedConfig, RouteSession } from './config.js'; interface FinishReason { readonly kind: string; } interface StreamChunk { readonly type: string; readonly index?: number; readonly text?: string; readonly blockType?: string; readonly block?: { readonly type: string; readonly text?: string; }; readonly reason?: FinishReason; } export interface LlmLike { stream(input: GenerateOptions): AsyncIterable; } type ReviewSession = RouteSession & Pick; export type GuardianStatus = 'approved' | 'denied' | 'timedOut' | 'aborted' | 'failed'; export type GuardianResult = Readonly<{ status: GuardianStatus; decision?: EnforcedDecision; route?: { provider: string; model: string; }; durationMs?: number; failure?: string; error?: string; }>; export declare function reviewEvidence(input: { llm: LlmLike; session: ReviewSession; requestSignal?: AbortSignal; lifecycleSignal?: AbortSignal; evidence: unknown; config: ResolvedConfig; }): Promise; export {};