/**
 * POST /api/documents/{id}/analyze 응답 타입.
 * Backend Pydantic 모델과 1:1 매칭.
 */

export type AnalysisLayerType = 'evidence' | 'explanation' | 'examples' | 'summary';

export interface AnalysisLayer {
  layer: AnalysisLayerType;
  title: string;
  content: string;
}

export interface AnalyzeResponse {
  id: number;
  title: string | null;
  layers: AnalysisLayer[];
  elapsed_ms: number;
  truncated: boolean;
  cached: boolean;
}
