/** * Floating UI wiring, isolated so the rest of the component never touches it. * * The v2 bug this fixes: `autoUpdate` was called on every focus and its * cleanup return value was discarded, so each open leaked another scroll and * resize loop. Here exactly one loop can exist at a time and `stop()` always * disposes it. */ export type Placement = 'top' | 'bottom' | 'left' | 'right'; export interface PositionerOptions { placement?: Placement | undefined; mainAxis?: number | undefined; crossAxis?: number | undefined; arrow?: HTMLElement | null | undefined; } export interface Positioner { start(): void; stop(): void; } export declare const createPositioner: (anchor: HTMLElement, floating: HTMLElement, options?: PositionerOptions) => Positioner; //# sourceMappingURL=position.d.ts.map