export declare type FloatingPositions = | 'top' | 'top left' | 'top right' | 'right' | 'right top' | 'right bottom' | 'bottom' | 'bottom left' | 'bottom right' | 'left' | 'left top' | 'left bottom'; export interface InitFloatingParams { arrowDOM?: HTMLElement | null; floatingDOM: HTMLElement; position?: FloatingPositions; viewportPadding?: number; targetDOM: HTMLElement; targetMargin?: number; fitTargetMaxWidth?: boolean; fitTargetMinWidth?: boolean; fitTargetWidth?: boolean; flip?: boolean; onTargetLeavingScreen?: () => void; onTargetEnteringScreen?: () => void; } export declare const initFloating: (params: InitFloatingParams) => { update: () => void; destroy: () => void; };