/** * Keeps a floating panel measurable and focusable while its first position is * calculated. Each update gets a ticket, so an older calculation cannot move a * newer panel or reveal one whose positioning session has already closed. * @internal */ export declare function positionSession(floating: HTMLElement): { next: () => number; commit: (ticket: number, apply: () => void) => void; close: () => void; };