import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue'; import { ColorProps } from '../common/utils'; import { GraphicsProps } from '../graphics/utils'; import { OnCleanup } from '@vue/reactivity'; type __VLS_Props = { /** * Alignment of the popover content relative to the anchor. * - `start`: Align to the left or top of the anchor, depending on the value of `side` * - `end`: Align to the right or bottom of the anchor, depending on the value of `side` * - `center`: Align to the center of the anchor * - `stretch`: Align to both sides of the anchor at the same time * @default 'start' */ align?: 'start' | 'end' | 'center' | 'stretch'; /** * Whether to display the card footer. * Will be enabled automatically when the slot is passed. * @ignore */ footer?: boolean; /** * Whether to display the card header. * Will be enabled automatically when any header slot is passed. * @ignore */ header?: boolean; /** Whether to display the popover content. */ open?: boolean; /** * Which side of the anchor the popover will show on. * @default 'top' */ side?: 'top' | 'bottom' | 'left' | 'right'; /** * How to trigger the display of popover content. * @default 'hover' */ trigger?: 'hover' | 'click' | 'manual'; }; declare function __VLS_template(): { attrs: Partial<{}>; slots: Readonly<{ /** Anchor of the popover. */ anchor?: (props: {}) => any; /** @ignore */ title?: (props: {}) => any; /** @ignore */ 'header-end'?: (props: {}) => any; /** @ignore */ default?: (props: {}) => any; /** @ignore */ footer?: (props: {}) => any; }> & { /** Anchor of the popover. */ anchor?: (props: {}) => any; /** @ignore */ title?: (props: {}) => any; /** @ignore */ 'header-end'?: (props: {}) => any; /** @ignore */ default?: (props: {}) => any; /** @ignore */ footer?: (props: {}) => any; }; refs: { anchor: HTMLButtonElement; content: ({ $: ComponentInternalInstance; $data: {}; $props: { readonly footer?: boolean | undefined; readonly header?: boolean | undefined; readonly tag?: string | undefined; readonly color?: "primary" | "info" | "success" | "warning" | "error" | "comment" | "neutral" | (string & {}) | undefined; readonly graphicsSelector?: string | string[] | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: Slot | undefined; }>; $root: ComponentPublicInstance | null; $parent: ComponentPublicInstance | null; $host: Element | null; $emit: (event: string, ...args: any[]) => void; $el: any; $options: ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, 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: 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<{}> & Omit & Readonly<{}>, never> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & { $slots: Readonly<{ title?: (props: {}) => any; 'header-end'?: (props: {}) => any; default?: (props: {}) => any; footer?: (props: {}) => any; }> & { title?: (props: {}) => any; 'header-end'?: (props: {}) => any; default?: (props: {}) => any; footer?: (props: {}) => any; }; }) | null; }; rootEl: HTMLSpanElement; }; type __VLS_TemplateResult = ReturnType; declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & { "update:open": (value: boolean) => any; }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{ "onUpdate:open"?: ((value: boolean) => any) | undefined; }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, { anchor: HTMLButtonElement; content: ({ $: ComponentInternalInstance; $data: {}; $props: { readonly footer?: boolean | undefined; readonly header?: boolean | undefined; readonly tag?: string | undefined; readonly color?: "primary" | "info" | "success" | "warning" | "error" | "comment" | "neutral" | (string & {}) | undefined; readonly graphicsSelector?: string | string[] | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; }; $slots: Readonly<{ [name: string]: Slot | undefined; }>; $root: ComponentPublicInstance | null; $parent: ComponentPublicInstance | null; $host: Element | null; $emit: (event: string, ...args: any[]) => void; $el: any; $options: ComponentOptionsBase & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, 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: 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<{}> & Omit & Readonly<{}>, never> & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {} & { $slots: Readonly<{ title?: (props: {}) => any; 'header-end'?: (props: {}) => any; default?: (props: {}) => any; footer?: (props: {}) => any; }> & { title?: (props: {}) => any; 'header-end'?: (props: {}) => any; default?: (props: {}) => any; footer?: (props: {}) => any; }; }) | null; }, HTMLSpanElement>; declare const _default: __VLS_WithTemplateSlots; export default _default; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };