import type { AppliedElement, FirstPassElement, FirstPassPart } from './apply.js'; export interface ElementOptionsPatch { type?: string | null; charset?: string | null; swaps?: Record | null; overflow?: string | null; read?: string | null; } /** * Update charset / swaps / read / overflow on one element without re-cropping templates. * Writes both first-pass.json (survives AI re-apply merge) and index.json (runtime). */ export declare function patchElementOptions(screenName: string, elementName: string, patch: ElementOptionsPatch): { firstPass: FirstPassElement; index: AppliedElement; }; /** * Patch options on one named part of an element. */ export declare function patchPartOptions(screenName: string, elementName: string, partName: string, patch: ElementOptionsPatch): { firstPass: FirstPassPart | undefined; index: NonNullable[number]; }; //# sourceMappingURL=options.d.ts.map