/** * HTTP transport for the Premiere bridge. * * Used on Windows (where there's no osascript) and optionally on macOS when * the user has installed the gg-editor-premiere-panel extension. * * Two panel runtimes are supported, both speaking the same wire protocol: * * - **CEP** (legacy) ExtendScript backend. Works on Premiere 22+. Adobe * has confirmed CEP support ends September 2026. * - **UXP** (modern) `require("premierepro")` backend. Required for * Premiere Pro 25.6+; the only path that survives * beyond Sept 2026. * * Both panel variants expose: * - GET /health → {ok, product, port, kind: "cep"|"uxp", version?} * - POST /rpc → body {method, params}, response {ok, result|error} * * The bridge stays runtime-agnostic; we just record `kind` from health for * surfacing in capability strings + error messages. */ export type PanelKind = "cep" | "uxp"; export interface PanelHealth { ok: boolean; product: string; port: number; /** Panel runtime. Older panels may omit this; we default to "cep". */ kind?: PanelKind; /** Optional version string the panel may advertise. */ version?: string; } export interface HttpBridgeOptions { port?: number; host?: string; } export declare class PremiereHttpBridge { private readonly port; private readonly host; constructor(opts?: HttpBridgeOptions); /** Cheap reachability check. Returns the panel's health payload or null. */ health(): Promise; call(method: string, params?: Record, opts?: { signal?: AbortSignal; }): Promise; shutdown(): void; } //# sourceMappingURL=http-bridge.d.ts.map