import { ComponentOptionsMixin } from 'vue';
import { ComponentProvideOptions } from 'vue';
import { DefineComponent } from 'vue';
import { ExtractPropTypes } from 'vue';
import { PropType } from 'vue';
import { PublicProps } from 'vue';
import { Side } from '@floating-ui/vue';

declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;

declare type __VLS_Prettify<T> = {
    [K in keyof T]: T[K];
} & {};

declare type __VLS_TypePropsToRuntimeProps<T> = {
    [K in keyof T]-?: {} extends Pick<T, K> ? {
        type: PropType<__VLS_NonUndefinedable<T[K]>>;
    } : {
        type: PropType<T[K]>;
        required: true;
    };
};

declare type __VLS_WithDefaults<P, D> = {
    [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
        default: D[K];
    }> : P[K];
};

declare type __VLS_WithTemplateSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};

declare const _default: __VLS_WithTemplateSlots<DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TooltipProps>, {
disableTeleport: boolean;
isDisabled: boolean;
isOpen: boolean;
side: string;
teleportTo: string;
text: string;
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TooltipProps>, {
disableTeleport: boolean;
isDisabled: boolean;
isOpen: boolean;
side: string;
teleportTo: string;
text: string;
}>>> & Readonly<{}>, {
text: string;
isDisabled: boolean;
teleportTo: string | HTMLElement;
isOpen: boolean;
disableTeleport: boolean;
side: Side;
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, Readonly<TooltipSlots> & TooltipSlots>;
export default _default;

export declare interface TooltipProps {
    /**
     * Disables teleporting the popover menu to an external element
     * @default false
     */
    disableTeleport?: boolean;
    /**
     * Sets the placement of the menu
     * @default 'top'
     */
    side?: TooltipSide;
    /**
     * Disables the tooltip
     * @default false
     */
    isDisabled?: boolean;
    /**
     * Sets if the menu is open. If not set from the parent context, the menu will be controlled internally.
     * @default false
     */
    isOpen?: boolean;
    /**
     * The query selector where the tooltip should be teleported
     * @default '#stash-menus-mount-node'
     */
    teleportTo?: string | HTMLElement;
    /**
     * String content to display within the tooltip
     * @default ''
     */
    text?: string;
}

export declare type TooltipSide = Side;

export declare interface TooltipSlots {
    /**
     * The content to display in the tooltip. This may be text node, an element, or a component.
     */
    content: any;
    /**
     * The default slot is the element or component to which the tooltip will be anchored.
     */
    default: any;
    /**
     * A slot for the primary icon. This icon will be displayed before the text or content.
     */
    icon: any;
    /**
     * A slot for the secondary icon. This icon will be displayed after the text or content.
     */
    secondaryIcon: any;
}

export { }
