import { Placement } from '@floating-ui/dom'; export interface CuiFloaterProps { /** * @description How the floater is activated/shown. * - `'manual'` - Visibility controlled manually via v-model (default) * - `'click'` - Toggle on click * - `'hover'` - Show on hover/mouseenter, hide on mouseleave * - `'focus'` - Show on focus, hide on blur * - `'touch'` - Show on touchstart, hide on touchend (mobile) */ activation?: "manual" | "click" | "hover" | "focus" | "touch"; /** * @description Flip the floater on overflow. */ flip?: boolean; /** * @description If the floater is inline or moved to the body element. * @deprecated Whether or not the floater is inline or not is now handled by the `layer` prop. */ inline?: boolean; /** * @description Application layer to append the floater to. Leave empty if floater is inline. */ layer?: HTMLDivElement | null; /** * @description The spacing between the floating element and its reference. */ padding?: number; /** * @description Positioning of the floating element relative to the reference element. * @type {Placement} * Valid values: * - `'top'` - Above the reference, centered * - `'top-start'` - Above the reference, aligned to start * - `'top-end'` - Above the reference, aligned to end * - `'bottom'` - Below the reference, centered * - `'bottom-start'` - Below the reference, aligned to start (default) * - `'bottom-end'` - Below the reference, aligned to end * - `'left'` - To the left of the reference, centered * - `'left-start'` - To the left of the reference, aligned to start * - `'left-end'` - To the left of the reference, aligned to end * - `'right'` - To the right of the reference, centered * - `'right-start'` - To the right of the reference, aligned to start * - `'right-end'` - To the right of the reference, aligned to end */ position?: Placement; /** * @description The element that the floater uses as a reference for positioning. */ reference: HTMLElement | null; /** * @description Makes the floater sticky on both axes. */ shift?: boolean; /** * @description Controls the visibility of the floater (for v-model support). */ modelValue?: boolean; } declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<{ /** * @description Content of the floater. */ default?: void | undefined; }> & { /** * @description Content of the floater. */ default?: void | undefined; }; refs: { floater: HTMLDivElement; }; rootEl: any; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: import('vue').DefineComponent any; hide: (reference: HTMLElement | null) => any; show: (reference: HTMLElement | null) => any; }, string, import('vue').PublicProps, Readonly & Readonly<{ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined; onHide?: ((reference: HTMLElement | null) => any) | undefined; onShow?: ((reference: HTMLElement | null) => any) | undefined; }>, { shift: boolean; modelValue: boolean; position: Placement; activation: "manual" | "click" | "hover" | "focus" | "touch"; flip: boolean; inline: boolean; layer: HTMLDivElement | null; padding: number; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { floater: HTMLDivElement; }, any>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };