import type { DefineComponent, VNodeChild } from 'vue';

import type {
    VueUiNestedDonutsDatasetItem,
    VueUiNestedDonutsConfig,
    VueUiNestedDonutsSeriesItem,
    VueUiNestedDonutsDatapoint,
    VueUiNestedDonutsExpose,
    VueUiDonutEvent,
    VueUiNestedDonutsProps,
    VueUiAnnotatorActionColorSlotProps,
    VueUiAnnotatorActionDrawSlotProps,
    VueUiAnnotatorActionUndoSlotProps,
    VueUiAnnotatorActionRedoSlotProps,
    VueUiAnnotatorActionDeleteSlotProps,
    VueUiMenuIconSlotProps,
    VueUiOptionFullscreenSlotProps,
    VueUiOptionAnnotatorSlotProps,
    VueUiNestedDonutsSvgSlotProps,
    VueUiKeyboardNavigationHintSlotProps,
    VueUiWatermarkSlotProps,
    VueUiNestedDonutsTooltipSlotProps,
    VueUiNestedDonutsLegendItem,
    VueUiNestedDonutsLegendSlotProps,
    CommonAnnotatorSlots,
    VueUiNestedDonutsEmits,
    VueUiNestedDonutsEmitSelectLegend,
    VueUiNestedDonutsEmitSelectDatapoint,
    VueUiNestedDonutsEmitCopyAlt,
} from 'vue-data-ui';

export type {
    VueUiNestedDonutsDatasetItem,
    VueUiNestedDonutsConfig,
    VueUiNestedDonutsSeriesItem,
    VueUiNestedDonutsDatapoint,
    VueUiNestedDonutsExpose,
    VueUiDonutEvent,
    VueUiNestedDonutsProps,
    VueUiAnnotatorActionColorSlotProps,
    VueUiAnnotatorActionDrawSlotProps,
    VueUiAnnotatorActionUndoSlotProps,
    VueUiAnnotatorActionRedoSlotProps,
    VueUiAnnotatorActionDeleteSlotProps,
    VueUiMenuIconSlotProps,
    VueUiOptionFullscreenSlotProps,
    VueUiOptionAnnotatorSlotProps,
    VueUiNestedDonutsSvgSlotProps,
    VueUiKeyboardNavigationHintSlotProps,
    VueUiWatermarkSlotProps,
    VueUiNestedDonutsTooltipSlotProps,
    VueUiNestedDonutsLegendItem,
    VueUiNestedDonutsLegendSlotProps,
    CommonAnnotatorSlots,
    VueUiNestedDonutsEmits,
    VueUiNestedDonutsEmitSelectLegend,
    VueUiNestedDonutsEmitSelectDatapoint,
    VueUiNestedDonutsEmitCopyAlt,
};

declare const VueUiNestedDonutsBase: DefineComponent<
    VueUiNestedDonutsProps,
    {},
    {},
    {},
    {},
    {},
    {},
    VueUiNestedDonutsEmits
>;

export const VueUiNestedDonuts: typeof VueUiNestedDonutsBase & {
    new (): VueUiNestedDonutsExpose & {
        $slots: CommonAnnotatorSlots & {
            ['custom-menu-before']?: () => VNodeChild;
            ['custom-menu-after']?: () => VNodeChild;
            menuIcon?: (props: VueUiMenuIconSlotProps) => VNodeChild;
            optionTooltip?: () => VNodeChild;
            optionPdf?: () => VNodeChild;
            optionCsv?: () => VNodeChild;
            optionImg?: () => VNodeChild;
            optionSvg?: () => VNodeChild;
            optionTable?: () => VNodeChild;
            optionLabels?: () => VNodeChild;
            optionFullscreen?: (
                props: VueUiOptionFullscreenSlotProps,
            ) => VNodeChild;
            optionAltCopy?: () => VNodeChild;
            optionAnnotator?: (
                props: VueUiOptionAnnotatorSlotProps,
            ) => VNodeChild;
            ['chart-background']?: () => VNodeChild;
            svg?: (props: VueUiNestedDonutsSvgSlotProps) => VNodeChild;
            hint?: (props: VueUiKeyboardNavigationHintSlotProps) => VNodeChild;
            watermark?: (props: VueUiWatermarkSlotProps) => VNodeChild;
            ['tooltip-before']?: (
                props: VueUiNestedDonutsTooltipSlotProps,
            ) => VNodeChild;
            tooltip?: (props: VueUiNestedDonutsTooltipSlotProps) => VNodeChild;
            ['tooltip-after']?: (
                props: VueUiNestedDonutsTooltipSlotProps,
            ) => VNodeChild;
            legend?: (props: VueUiNestedDonutsLegendSlotProps) => VNodeChild;
            source?: () => VNodeChild;
            skeleton?: () => VNodeChild;
        };
    };
};

export default VueUiNestedDonuts;
export { VueUiNestedDonuts };
