/**
 * 通用 API 响应格式
 */
export interface ApiResponse<T = unknown> {
  code: number;
  data: T;
  message: string;
}

/**
 * 字幕打轴结果
 */
export interface AlignmentResult {
  status: 'pending' | 'aligning' | 'completed' | 'failed';
  utterances?: Array<{
    text: string;
    start_time: number;
    end_time: number;
  }>;
  duration?: number;
  errorMessage?: string;
}

/**
 * 脚本镜头定义（分镜或空镜）
 * 前后端统一的权威类型
 */
export type { ScriptShot } from '../types/project';
