import { type Draft } from "../draft.js"; import { type Flags } from "../utils/cli.js"; export interface Template { name: string; type: string; segment: Record; material: { type: string; data: Record; }; extra_materials: Array<{ type: string; data: Record; }>; } export declare function saveTemplate(draft: Draft, segId: string, name: string, outPath: string): Template; export declare function applyTemplate(draft: Draft, templatePath: string, start: number, duration: number, overrides?: { x?: number; y?: number; scaleX?: number; scaleY?: number; text?: string; }): { segmentId: string; materialId: string; trackId: string; }; export declare function cmdSaveTemplate(draft: Draft, positional: string[], flags: Flags): void; export declare function cmdApplyTemplate(draft: Draft, filePath: string, positional: string[], flags: Flags): void;