import type { AccordionRootProps, AccordionRootEmits } from 'reka-ui';
import type { AppConfig } from '@nuxt/schema';
import theme from '#build/b24ui/accordion';
import type { IconComponent } from '../types';
import type { DynamicSlots } from '../types/utils';
import type { ComponentConfig } from '../types/tv';
type Accordion = ComponentConfig<typeof theme, AppConfig, 'accordion'>;
export interface AccordionItem {
    label?: string;
    /**
     * @IconComponent
     */
    icon?: IconComponent;
    /**
     * @IconComponent
     */
    trailingIcon?: IconComponent;
    slot?: string;
    content?: string;
    /** A unique value for the accordion item. Defaults to the index. */
    value?: string;
    disabled?: boolean;
    class?: any;
    b24ui?: Pick<Accordion['slots'], 'item' | 'header' | 'trigger' | 'leadingIcon' | 'label' | 'trailingIcon' | 'content' | 'body'>;
    [key: string]: any;
}
export interface AccordionProps<T extends AccordionItem = AccordionItem> extends Pick<AccordionRootProps, 'collapsible' | 'defaultValue' | 'modelValue' | 'type' | 'disabled' | 'unmountOnHide'> {
    /**
     * The element or component this component should render as.
     * @defaultValue 'div'
     */
    as?: any;
    items?: T[];
    /**
     * The icon displayed on the right side of the trigger.
     * @defaultValue icons.chevronDown
     * @IconComponent
     */
    trailingIcon?: IconComponent;
    /**
     * The key used to get the label from the item.
     * @defaultValue 'label'
     */
    labelKey?: string;
    class?: any;
    b24ui?: Accordion['slots'];
}
export interface AccordionEmits extends AccordionRootEmits {
}
type SlotProps<T extends AccordionItem> = (props: {
    item: T;
    index: number;
    open: boolean;
    b24ui: Accordion['b24ui'];
}) => any;
export type AccordionSlots<T extends AccordionItem = AccordionItem> = {
    leading: SlotProps<T>;
    default(props: {
        item: T;
        index: number;
        open: boolean;
    }): any;
    trailing: SlotProps<T>;
    content: SlotProps<T>;
    body: SlotProps<T>;
} & DynamicSlots<T, 'body', {
    index: number;
    open: boolean;
    b24ui: Accordion['b24ui'];
}>;
declare const __VLS_export: <T extends AccordionItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
    props: __VLS_PrettifyLocal<AccordionProps<T> & {
        "onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
    }> & import("vue").PublicProps;
    expose: (exposed: {}) => void;
    attrs: any;
    slots: AccordionSlots<T>;
    emit: (evt: "update:modelValue", value: string | string[] | undefined) => void;
}>) => import("vue").VNode & {
    __ctx?: Awaited<typeof __VLS_setup>;
};
declare const _default: typeof __VLS_export;
export default _default;
type __VLS_PrettifyLocal<T> = {
    [K in keyof T as K]: T[K];
} & {};
