import type { BackgroundElementTemplateInstance } from './instance.js'; export declare function markElementTemplateHydrated(): void; export declare function isElementTemplateHydrated(): boolean; export declare function resetElementTemplateCommitState(): void; export declare function scheduleElementTemplateRemovedSubtreeCleanup(removedSubtreesAwaitingTeardown: BackgroundElementTemplateInstance[]): void; export declare function cancelElementTemplateRemovedSubtreeCleanup(): void; export declare function installElementTemplateCommitHook(): void; /** * Restores the commit option replaced by * {@link installElementTemplateCommitHook} so tests can clean up the global * Preact `options` object. Assumes the matching install was the most recent * commit-option replacement; the snapshot and ElementTemplate runtimes are * separate entrypoints and never install their commit hooks in the same * context. */ export declare function uninstallElementTemplateCommitHookForTesting(): void;