import { ClapEntity, ClapSegment, ClapWorkflow } from "@aitube/clap"; import { MovieScript, Screenplay } from "@/types"; /** * export a Clap blob * * Optionally the blob can be downloaded, if we are in a browser environment * * however, note that for some reason YAML stringify is a blocking call like for JSON, * they is no async version although we are now in the 20s not 90s * * in the future we might want to use an alternative implementation of YAML */ export declare function generateClap({ script, screenplay, projectInfo, workflows, segments, entities, embedded, }: { script: MovieScript; screenplay: Screenplay; projectInfo: string; workflows: ClapWorkflow[]; segments: ClapSegment[]; entities: ClapEntity[]; embedded?: boolean; }): Promise;