import type { AppConfig } from '@nuxt/schema';
import type { TagsInputRootProps, TagsInputRootEmits, AcceptableInputValue } from 'reka-ui';
import theme from '#build/b24ui/input-tags';
import type { UseComponentIconsProps } from '../composables/useComponentIcons';
import type { BadgeProps, IconComponent } from '../types';
import type { InputHTMLAttributes } from '../types/html';
import type { ComponentConfig } from '../types/tv';
type InputTags = ComponentConfig<typeof theme, AppConfig, 'inputTags'>;
export type InputTagItem = AcceptableInputValue;
export interface InputTagsProps<T extends InputTagItem = InputTagItem> extends Pick<TagsInputRootProps<T>, 'modelValue' | 'defaultValue' | 'addOnPaste' | 'addOnTab' | 'addOnBlur' | 'duplicate' | 'disabled' | 'delimiter' | 'max' | 'id' | 'convertValue' | 'displayValue' | 'name' | 'required'>, UseComponentIconsProps, /** @vue-ignore */ Omit<InputHTMLAttributes, 'disabled' | 'max' | 'required' | 'name' | 'placeholder' | 'type' | 'autofocus' | 'maxlength' | 'minlength' | 'pattern' | 'size' | 'min' | 'step'> {
    /**
     * The element or component this component should render as.
     * @defaultValue 'div'
     */
    as?: any;
    /** The placeholder text when the input is empty. */
    placeholder?: string;
    /** The maximum number of character allowed. */
    maxLength?: number;
    /**
     * @defaultValue 'air-primary'
     */
    color?: InputTags['variants']['color'];
    /**
     * @defaultValue 'md'
     */
    size?: InputTags['variants']['size'];
    /**
     * Removes all borders (rings)
     * @defaultValue false
     */
    noBorder?: boolean;
    /**
     * Removes all borders (rings) except the bottom one
     * @defaultValue false
     */
    underline?: boolean;
    /**
     * Rounds the corners of the input
     * @defaultValue false
     */
    rounded?: boolean;
    autofocus?: boolean;
    autofocusDelay?: number;
    /**
     * The icon displayed to delete a tag.
     * @defaultValue icons.close
     * @IconComponent
     */
    deleteIcon?: IconComponent;
    tag?: string;
    /**
     * @defaultValue 'air-primary'
     */
    tagColor?: BadgeProps['color'];
    /** Highlight the ring color like a focus state. */
    highlight?: boolean;
    class?: any;
    b24ui?: InputTags['slots'];
}
export interface InputTagsEmits<T extends InputTagItem> extends TagsInputRootEmits<T> {
    change: [event: Event];
    blur: [event: FocusEvent];
    focus: [event: FocusEvent];
}
type SlotProps<T extends InputTagItem> = (props: {
    item: T;
    index: number;
    b24ui: InputTags['b24ui'];
}) => any;
export interface InputTagsSlots<T extends InputTagItem = InputTagItem> {
    'leading'(props: {
        b24ui: InputTags['b24ui'];
    }): any;
    'default'(props: {
        b24ui: InputTags['b24ui'];
    }): any;
    'trailing'(props: {
        b24ui: InputTags['b24ui'];
    }): any;
    'item-text': SlotProps<T>;
    'item-delete': SlotProps<T>;
}
declare const __VLS_export: <T extends InputTagItem>(__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<InputTagsProps<T> & {
        onChange?: ((event: Event) => any) | undefined;
        onBlur?: ((event: FocusEvent) => any) | undefined;
        onFocus?: ((event: FocusEvent) => any) | undefined;
        onInvalid?: ((payload: T) => any) | undefined;
        "onUpdate:modelValue"?: ((payload: T[]) => any) | undefined;
        onAddTag?: ((payload: T) => any) | undefined;
        onRemoveTag?: ((payload: T) => any) | undefined;
    }> & import("vue").PublicProps;
    expose: (exposed: import("vue").ShallowUnwrapRef<{
        inputRef: Readonly<import("vue").Ref<HTMLInputElement, HTMLInputElement>>;
    }>) => void;
    attrs: any;
    slots: InputTagsSlots<T>;
    emit: ((evt: "change", event: Event) => void) & ((evt: "blur", event: FocusEvent) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "invalid", payload: T) => void) & ((evt: "update:modelValue", payload: T[]) => void) & ((evt: "addTag", payload: T) => void) & ((evt: "removeTag", payload: T) => 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];
} & {};
