export type DropdownOffset = { x?: number; y?: number; }; export interface DropdownProps { /** * Used to position the dropdown relative to target * Options: left, right */ align?: 'left' | 'right'; /** * When passed, text with caret is displayed instead of default kebab menu. */ label?: string; /** * If true, dropdown will remain open when clicking on its content. Otherwise, it'll close automatically on click. */ closeManually?: boolean; /** * Used to horizontally and vertically offset the dropdown in pixels * Keep in mind, `x` value is relative to `align` value. */ offset?: DropdownOffset; /** * If `reattach` is true, the contents will be mounted in the mount point container, * so as to circumvent clipping issues from a parent's overflow property. */ reattach?: boolean; /** * Custom class to apply to the default dropdown content element */ contentClass?: string | string[]; /** * Removes content container's max width */ fluidContent?: boolean; } /** * Dismisses the Dropdown. */ declare function dismiss(event?: Event): void; /** * Opens or closes the Dropdown. If opening, positions and focuses its content. */ declare function toggle(): Promise; declare var __VLS_1: { isActive: boolean; toggle: typeof toggle; }, __VLS_21: { dismiss: typeof dismiss; isActive: boolean; }; type __VLS_Slots = {} & { toggle?: (props: typeof __VLS_1) => any; } & { default?: (props: typeof __VLS_21) => any; }; declare const __VLS_base: import("vue").DefineComponent; toggle: typeof toggle; dismiss: typeof dismiss; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { dismiss: () => any; toggle: (isActive: boolean) => any; }, string, import("vue").PublicProps, Readonly & Readonly<{ onDismiss?: (() => any) | undefined; onToggle?: ((isActive: boolean) => any) | undefined; }>, { label: string; offset: DropdownOffset; align: "left" | "right"; closeManually: boolean; reattach: boolean; contentClass: string | string[]; fluidContent: boolean; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>; declare const __VLS_export: __VLS_WithSlots; declare const _default: typeof __VLS_export; export default _default; type __VLS_WithSlots = T & { new (): { $slots: S; }; };