/** One host layout publication: dedupe key plus the post it stands for. */ export interface RuntimeLayoutPublication { /** Serialized runtime, target and mapped viewports. */ key: string; /** Post the publication to the host bridge. */ post: () => void; } /** * Coalesce runtime frame geometry reads into one per animation frame and skip * `layout.changed` posts whose content matches the last one. */ export declare function createRuntimeLayoutScheduler(iframe: HTMLIFrameElement, options: { /** Live runtime document able to publish layout. */ active: () => boolean; /** Read geometry (forces layout) and describe the resulting publication. */ measure: () => RuntimeLayoutPublication | undefined; }): { refresh: () => void; /** Readiness publications carry viewports too, so the next layout must post again. */ reset(): void; /** Release listeners and any scheduled read. */ close(): void; };