export declare const placeElement: (config: { element: HTMLElement; target: HTMLElement; elementPos?: UiRelativePosition; targetPos?: UiRelativePosition; }) => ElementPlacer; export declare const getDocumentWidth: () => number; export declare const getDocumentHeight: () => number; export declare const getDistanceToBottom: (element: HTMLElement) => number; export declare const hasCursorRange: () => boolean; export declare const appendChildAtCursor: (child: HTMLElement) => void; export declare type ElementPlacer = { destroy(): void; }; export declare type UiEventTrigger = "click" | "hover" | "focus" | "always"; export declare type UiRelativePosition = "top left" | "top right" | "top center" | "top auto" | "bottom left" | "bottom right" | "bottom center" | "bottom auto" | "middle left" | "middle right" | "middle auto" | "auto left" | "auto right" | "auto center" | "auto auto"; export declare type Element = { destroy(): void; };