/** * Browser-friendly packages only. * (No Node.js built-ins like fs, path, dotenv, etc.) * Works in both Node.js and modern browsers. */ import type { ConfigDataDictionary, DefaultConfigData } from "graphai"; import { MulmoBeat, MulmoStudioBeat, MulmoStudioMultiLingual, MulmoStudioMultiLingualData } from "../types/index.js"; import { type LLM } from "../types/provider2agent.js"; export declare const llmPair: (_llm?: LLM, _model?: string) => { agent: "mediaMockAgent" | "openAIAgent" | "anthropicAgent" | "geminiAgent" | "groqAgent"; model: string; max_tokens: 8192 | 4096; }; export declare const chunkArray: (array: T[], size?: number) => T[][]; export declare const isHttp: (fileOrUrl: string) => boolean; export declare const localizedText: (beat: MulmoBeat, multiLingualData?: MulmoStudioMultiLingualData, targetLang?: string, defaultLang?: string) => string; export declare function processLineBreaks(text: string): string; export declare function userAssert(condition: boolean, message: string): asserts condition; export declare const settings2GraphAIConfig: (settings?: Record, env?: Record) => ConfigDataDictionary; type Primitive = string | number | boolean | symbol | bigint; type CleanableValue = Primitive | null | undefined | CleanableObject | CleanableValue[]; type CleanableObject = { [key: string]: CleanableValue; }; export declare const deepClean: (input: T) => T | undefined; export declare const beatId: (id: string | undefined, index: number) => string; export declare const multiLingualObjectToArray: (multiLingual: MulmoStudioMultiLingual | undefined, beats: MulmoStudioBeat[]) => { multiLingualTexts: Record; cacheKey?: string | undefined; }[]; export declare const getAspectRatio: (canvasSize: { width: number; height: number; }, ASPECT_RATIOS: string[]) => string; export {};