/** * Browser-friendly packages only. * (No Node.js built-ins like fs, path, dotenv, etc.) * Works in both Node.js and modern browsers. */ import { BeatSessionType, MulmoStudioContext, SessionProgressCallback, SessionType, MulmoBeat, SpeechOptions } from "../types/index.js"; import { provider2TTSAgent } from "../types/provider2agent.js"; export declare const addSessionProgressCallback: (cb: SessionProgressCallback) => void; export declare const removeSessionProgressCallback: (cb: SessionProgressCallback) => void; export declare const MulmoStudioContextMethods: { getAudioDirPath(context: MulmoStudioContext): string; getImageDirPath(context: MulmoStudioContext): string; getImageProjectDirPath(context: MulmoStudioContext): string; getOutDirPath(context: MulmoStudioContext): string; getFileName(context: MulmoStudioContext): string; getCaption(context: MulmoStudioContext): string | undefined; setSessionState(context: MulmoStudioContext, sessionType: SessionType, value: boolean, result?: boolean): void; setBeatSessionState(context: MulmoStudioContext, sessionType: BeatSessionType | undefined, index: number, id: string | undefined, value: boolean): void; needTranslate(context: MulmoStudioContext, includeCaption?: boolean): boolean | "" | undefined; getIntroPadding(context: MulmoStudioContext): number; getAudioParam(context: MulmoStudioContext, beat: MulmoBeat, lang?: string): { provider: keyof typeof provider2TTSAgent; voiceId: string; model?: string; speechOptions: SpeechOptions; }; };