/** * ExtendScript runtime for the Premiere bridge. * * Design: per-call self-contained JSX file. Each invocation generates a * complete script that: * 1. Defines small helpers (frame conversion, file writer) * 2. Reads command + params hard-coded into the file * 3. Writes result JSON to a known output path * 4. Always wraps work in try/catch so a Premiere-side exception still * yields a parseable result file * * We keep JSX minimal — agent-facing logic lives in the TS adapter; JSX is * only the thin glue that walks app.project.* and writes JSON. * * Modern Premiere (2018+) ships with full ECMAScript 5 JSON support. We * don't polyfill; older versions get a clear error. */ /** * Generate a self-contained JSX script for one method invocation. * @param method Method name (must match METHODS) * @param params JSON-encoded params (will be JSON.parsed in JSX as `P`) * @param outPath Absolute path where the result JSON is written */ export declare function buildJsxScript(method: string, params: Record, outPath: string): string; export declare const PREMIERE_METHODS: string[]; //# sourceMappingURL=bridge-source.d.ts.map