export interface FontMirror { /** Absolute path to the .ttf, as written into font_path + content.styles[].font.path. */ path: string; /** content.styles[].font.id — CapCut stores the resource_id here. */ id: string; /** key_value.json registry key. */ resourceId: string; } /** * Reproduce the registry entry CapCut writes into key_value.json when the user * picks a font via the dropdown (port of fix_key_value.py:font_entry). Keyed by * the font's resource_id at the call site. */ export declare function buildKeyValueEntry(resourceId: string, subcategory?: string, searchKeyword?: string): Record; /** * Mirror the new font across all the files CapCut reads besides the primary * draft_content.json (which the caller already saved). `draft` is the full new * draft object; `kvEntry` is the key_value registry entry (omit to skip that step). */ export declare function mirrorFont(draftDir: string, draft: unknown, font: FontMirror, kvEntry?: Record): { written: string[]; };