import { ClapEntity, ClapScene, ClapSegment } from "@aitube/clap"; import { Screenplay } from "@/types"; export declare function analyzeScreenplay(screenplay: Screenplay, onProgress?: (value: number, message?: string) => Promise): Promise<{ movieGenreLabel: string; extraPositivePrompt: string[]; segments: ClapSegment[]; entitiesByScreenplayLabel: Record; entitiesById: Record; finalPlainText: string; totalDurationInMs: number; scenes: ClapScene[]; }>;