import { nextTick, CSSProperties, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, Ref, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ComponentCustomProperties } from 'vue'; import { PvPopoverProps } from '../PvPopover/PvPopover.vue'; import { OnCleanup } from '@vue/reactivity'; export interface PvDropdownProps { /** * Accessible name for the trigger button, exposed as `aria-label`. Required * for icon-only triggers (e.g. a report-actions menu) so the button is named * in the accessibility tree; optional when the trigger slot already has text. */ ariaLabel?: string; defaultOpen?: boolean; popoverCssProperties?: CSSProperties; alignment?: "top" | "right" | "top right" | undefined; isList?: boolean; isSortable?: boolean; icon?: boolean; disabled?: boolean; isLoading?: boolean; useTeleport?: boolean; teleportLocation?: string; /** Custom CSS styles applied to the trigger button, e.g. { width: "100%" } to stretch it to its container. */ triggerCssProperties?: CSSProperties; } declare const _default: __VLS_WithTemplateSlots< DefineComponent void; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & { "list-order-updated": (value: string[]) => any; "dropdown-open": () => any; "dropdown-closed": () => any; }, string, PublicProps, Readonly & Readonly<{ "onList-order-updated"?: ((value: string[]) => any) | undefined; "onDropdown-open"?: (() => any) | undefined; "onDropdown-closed"?: (() => any) | undefined; }>, { isLoading: boolean; disabled: boolean; useTeleport: boolean; teleportLocation: string; defaultOpen: boolean; alignment: "top" | "right" | "top right"; isList: boolean; }, {}, {}, {}, string, ComponentProvideOptions, false, { triggerRef: HTMLButtonElement; popoverRef: ({ $: ComponentInternalInstance; $data: {}; $props: { readonly alignment?: "top" | "right" | "top right" | undefined | undefined; readonly cssCustomListProperties?: CSSProperties | undefined; readonly cssCustomProperties?: CSSProperties | undefined; readonly isList?: boolean | undefined; readonly isSortable?: boolean | undefined; readonly listClass?: string | undefined; readonly listId?: string | undefined; readonly listRole?: string | undefined; readonly "onList-order-updated"?: ((value: string[]) => any) | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps; $attrs: Attrs; $refs: { [x: string]: unknown; } & { popoverRoot: HTMLDivElement; popoverList: HTMLUListElement; }; $slots: Readonly<{ [name: string]: Slot | undefined; }>; $root: ComponentPublicInstance | null; $parent: ComponentPublicInstance | null; $host: Element | null; $emit: (event: "list-order-updated", value: string[]) => void; $el: HTMLDivElement; $options: ComponentOptionsBase & Readonly<{ "onList-order-updated"?: ((value: string[]) => any) | undefined; }>, { popoverRoot: Ref; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & { "list-order-updated": (value: string[]) => any; }, string, { cssCustomProperties: CSSProperties; alignment: "top" | "right" | "top right"; isList: boolean; isSortable: boolean; listClass: string; listId: string; listRole: string; }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]; renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof nextTick; $watch any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle; } & Readonly<{ cssCustomProperties: CSSProperties; alignment: "top" | "right" | "top right"; isList: boolean; isSortable: boolean; listClass: string; listId: string; listRole: string; }> & Omit & Readonly<{ "onList-order-updated"?: ((value: string[]) => any) | undefined; }>, "popoverRoot" | ("cssCustomProperties" | "alignment" | "isList" | "isSortable" | "listClass" | "listId" | "listRole")> & { popoverRoot: HTMLElement | null; } & {} & ComponentCustomProperties & {} & { $slots: { header?(_: {}): any; default?(_: {}): any; default?(_: {}): any; footer?(_: {}): any; }; }) | null; }, HTMLDivElement>, { trigger?(_: {}): any; default?(_: {}): any; }>; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };