/** * compose-prompt — THE IP. * * Pure function that assembles the full Omni prompt for a single take from: * take/split + take-relative segments + layout + resolved style + analysis + * frame observations + language + duration. * * Structure (ported from the source skill's SKELETON): * CRITICAL RULE 1/2/3 (from prompt-rules) * TASK + LAYOUT block (per layout: split / overlay / motion-only / avatar-host) * VISUAL block (from resolved style) * MOTION block (from resolved style) * SHOTS (one shot per take-relative segment; only quoted text renders) * GLOBAL RULES (layout-specific untouchable zones + language + audio) * * INVARIANTS (tested): * - Timecodes are rebased to the clip's 0:00 (absolute − take.start). * - The output contains NO leaked styling metadata: no `\d+px`, no `\d+ms`, no * hex colour, no easing-curve name, no font-family name. The accent is * rendered as a HUMAN COLOUR NAME, never a hex string. * * Pure: no I/O. Deterministic. */ import type { FrameObservations, MotionLayout, ResolvedStyle, TakeAnalysis, TakeSplit, TranscriptSegment } from './types.js'; export interface ComposePromptArgs { /** Take index (0-based). */ index: number; /** The take's span + which segments it covers. */ split: TakeSplit; /** Full transcript segments (absolute timing); rebased here. */ segments: TranscriptSegment[]; layout: MotionLayout; style: ResolvedStyle; analysis: TakeAnalysis; frames?: FrameObservations; /** On-screen text language (human-readable, e.g. "Portuguese"). */ language: string; /** Take duration in seconds (for the TASK line). */ durationSeconds: number; } /** Map a hex accent to a human colour NAME so no hex leaks into the prompt. */ export declare function accentColourName(hex: string): string; /** * Compose the full Omni prompt for one take. Pure. Output is guaranteed free of * leaked styling metadata (see module-level invariants + the compose test). */ export declare function composePrompt(args: ComposePromptArgs): string; //# sourceMappingURL=compose-prompt.d.ts.map