import { type ComponentReturnType } from '../component';
export declare function lastItemInStack(target: 'text' | 'node' | 'comment'): HTMLElement;
export declare function itemFromRehydrationStack(): HTMLElement | undefined;
export declare function isRehydrationScheduled(): boolean;
export declare function withRehydration(componentCreationCallback: () => ComponentReturnType, targetNode: HTMLElement): void;
