import { type ComputePositionReturn, type OffsetOptions, type ShiftOptions } from '@floating-ui/dom'; declare enum ODS_OVERLAY_POSITION { bottom = "bottom", bottomEnd = "bottom-end", bottomStart = "bottom-start", left = "left", leftEnd = "left-end", leftStart = "left-start", right = "right", rightEnd = "right-end", rightStart = "right-start", top = "top", topEnd = "top-end", topStart = "top-start" } declare enum ODS_OVERLAY_STRATEGY { absolute = "absolute", fixed = "fixed" } type OdsOverlayPosition = `${ODS_OVERLAY_POSITION}`; type OdsOverlayStrategy = `${ODS_OVERLAY_STRATEGY}`; type DomElement = { arrow?: HTMLElement; popper: HTMLElement; trigger: HTMLElement | null | undefined; }; type MiddlewareOption = { offset?: OffsetOptions; shift?: ShiftOptions; strategy?: OdsOverlayStrategy; }; declare const ODS_OVERLAY_POSITIONS: readonly ODS_OVERLAY_POSITION[]; declare const ODS_OVERLAY_STRATEGIES: readonly ODS_OVERLAY_STRATEGY[]; declare function findTriggerElement(triggerId: string, shadowDomTriggerId?: string): HTMLElement | undefined; declare function getElementPosition(position: OdsOverlayPosition, domElement: DomElement, option?: MiddlewareOption): Promise; declare function hideOverlay(popperElement: HTMLElement, cleanUpCallback?: () => void): void; declare function showOverlay(position: OdsOverlayPosition, domElement: DomElement, option?: MiddlewareOption): () => void; export { findTriggerElement, getElementPosition, hideOverlay, ODS_OVERLAY_POSITION, ODS_OVERLAY_POSITIONS, type OdsOverlayPosition, ODS_OVERLAY_STRATEGIES, ODS_OVERLAY_STRATEGY, type OdsOverlayStrategy, showOverlay, };