import type { ConversationNodeDefinition } from '@deepseek-ai/dsh-client-runtime/client'; export interface AutoReviewStartData { readonly schemaVersion: 1; readonly reviewId: string; readonly callId: string | null; readonly toolName: string; readonly targetKind: string; readonly targetSummary: string; readonly trajectoryEnabled?: boolean; readonly startedAt: number; } export interface AutoReviewStatusData { readonly schemaVersion: 1; readonly reviewId: string; readonly phase: 'awaiting-manual-approval'; readonly changedAt: number; } export interface AutoReviewEndData { readonly schemaVersion: 1; readonly reviewId: string; readonly completedAt: number; readonly durationMs: number; readonly automatedOutcome: string; readonly finalOutcome: string; readonly decisionSource: string; readonly guardianStatus: string; readonly guardianReason?: string | null; readonly riskLevel: string | null; readonly userAuthorization: string | null; readonly failure: string | null; readonly manualOverrideStatus: string; readonly auditPersisted: boolean; readonly auditDisabled: boolean; readonly auditFailure: string | null; } declare module '@deepseek-ai/dsh-session/types' { interface SessionEventMap { 'auto-review/start': AutoReviewStartData; 'auto-review/status': AutoReviewStatusData; 'auto-review/end': AutoReviewEndData; } } export interface AutoReviewViewState { readonly start: AutoReviewStartData; readonly startSeq: number; readonly phase: 'reviewing' | 'awaiting-manual-approval' | 'completed'; readonly end?: AutoReviewEndData; readonly endSeq?: number; } declare module '@deepseek-ai/dsh-client-ui-conversation/client' { interface ChatNodeDataMap { 'auto-review': AutoReviewViewState; } } export declare function statusLabel(state: AutoReviewViewState): string; export declare function detailRows(state: AutoReviewViewState): Array; export declare function setNativeAutoReviewChatEnabled(enabled: boolean): void; export declare const autoReviewNativeChatDefinition: ConversationNodeDefinition; export declare const autoReviewFallbackChatDefinition: ConversationNodeDefinition; export declare const autoReviewTrajectoryDefinition: ConversationNodeDefinition;