import { Stage } from '../../state/types.js'; interface MusicItemType { duration: number; fileName: string; url: string; } type MusicListType = MusicItemType[]; interface MediaItemType { fileUrl: string; duration?: number; type: 5 | 2 | 3; id: number; title: string; cover?: string; } type MediaListType = MediaItemType[]; interface DraftParams { coverUrl: string; schema: Stage | null; } interface ExportParamsType { projectWidth?: number; projectHeight?: number; projectDuration?: number; duration?: number; coverFile?: File | null; } interface ExportRenderProps { getExportParams: () => Promise; } export type { DraftParams, ExportParamsType, ExportRenderProps, MediaListType, MusicListType };