export interface SanitizeResult { /** The repaired component array (empty when nothing renderable survives). */ ui: unknown[]; /** True when at least one drawable component remains. */ ok: boolean; /** Human-readable log of every change made — feeds the re-prompt policy. */ repairs: string[]; } export declare function sanitize(input: unknown): SanitizeResult;