import type { VNode } from 'vue';
import type { AppConfig } from '@nuxt/schema';
import theme from '#build/b24ui/input';
import type { UseComponentIconsProps } from '../composables/useComponentIcons';
import type { BadgeProps } from '../types';
import type { InputHTMLAttributes } from '../types/html';
import type { ModelModifiers, ApplyModifiers } from '../types/input';
import type { AcceptableValue } from '../types/utils';
import type { ComponentConfig } from '../types/tv';
type Input = ComponentConfig<typeof theme, AppConfig, 'input'>;
export type InputValue = AcceptableValue;
export interface InputProps<T extends InputValue = InputValue, Mod extends ModelModifiers = ModelModifiers> extends UseComponentIconsProps, /** @vue-ignore */ Omit<InputHTMLAttributes, 'name' | 'type' | 'placeholder' | 'required' | 'autocomplete' | 'autofocus' | 'disabled'> {
    /**
     * The element or component this component should render as.
     * @defaultValue 'div'
     */
    as?: any;
    id?: string;
    name?: string;
    type?: InputHTMLAttributes['type'];
    /** The placeholder text when the input is empty. */
    placeholder?: string;
    /**
     * @defaultValue 'air-primary'
     */
    color?: Input['variants']['color'];
    /**
     * @defaultValue 'md'
     */
    size?: Input['variants']['size'];
    /**
     * Removes padding from input
     * @defaultValue false
     */
    noPadding?: boolean;
    /**
     * 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;
    /**
     * @defaultValue false
     */
    required?: boolean;
    /**
     * @defaultValue 'off'
     */
    autocomplete?: InputHTMLAttributes['autocomplete'];
    /**
     * @defaultValue false
     */
    autofocus?: boolean;
    /**
     * @defaultValue 0
     */
    autofocusDelay?: number;
    /**
     * @defaultValue false
     */
    disabled?: boolean;
    tag?: string;
    /**
     * @defaultValue 'air-primary'
     */
    tagColor?: BadgeProps['color'];
    /** Highlight the ring color like a focus state. */
    highlight?: boolean;
    /** Keep the mobile text size on all breakpoints. (Left for backward compatibility.) */
    fixed?: boolean;
    modelValue?: ApplyModifiers<T, Mod>;
    defaultValue?: ApplyModifiers<T, Mod>;
    modelModifiers?: Mod;
    class?: any;
    b24ui?: Input['slots'];
}
export interface InputEmits<T extends InputValue = InputValue, Mod extends ModelModifiers = ModelModifiers> {
    'update:modelValue': [value: ApplyModifiers<T, Mod>];
    'blur': [event: FocusEvent];
    'change': [event: Event];
}
export interface InputSlots {
    leading?(props: {
        b24ui: Input['b24ui'];
    }): VNode[];
    default?(props: {
        b24ui: Input['b24ui'];
    }): VNode[];
    trailing?(props: {
        b24ui: Input['b24ui'];
    }): VNode[];
}
declare const _default: typeof __VLS_export;
export default _default;
declare const __VLS_export: <T extends InputValue, Mod extends ModelModifiers>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
    props: import("vue").PublicProps & __VLS_PrettifyLocal<InputProps<T, Mod> & {
        onBlur?: ((event: FocusEvent) => any) | undefined;
        onChange?: ((event: Event) => any) | undefined;
        "onUpdate:modelValue"?: ((value: Mod extends {
            number: true;
        } ? (Mod extends {
            optional: true;
        } ? (Mod extends {
            nullable: true;
        } ? T | null : T) | undefined : Mod extends {
            nullable: true;
        } ? T | null : T) extends infer T_1 ? T_1 extends (Mod extends {
            optional: true;
        } ? (Mod extends {
            nullable: true;
        } ? T | null : T) | undefined : Mod extends {
            nullable: true;
        } ? T | null : T) ? T_1 extends string ? number | T_1 : T_1 : never : never : Mod extends {
            optional: true;
        } ? (Mod extends {
            nullable: true;
        } ? T | null : T) | undefined : Mod extends {
            nullable: true;
        } ? T | null : T) => any) | undefined;
    }> & (typeof globalThis extends {
        __VLS_PROPS_FALLBACK: infer P;
    } ? P : {});
    expose: (exposed: import("vue").ShallowUnwrapRef<{
        inputRef: Readonly<import("vue").ShallowRef<HTMLInputElement | null, HTMLInputElement | null>>;
    }>) => void;
    attrs: any;
    slots: InputSlots;
    emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: Mod extends {
        number: true;
    } ? (Mod extends {
        optional: true;
    } ? (Mod extends {
        nullable: true;
    } ? T | null : T) | undefined : Mod extends {
        nullable: true;
    } ? T | null : T) extends infer T_1 ? T_1 extends (Mod extends {
        optional: true;
    } ? (Mod extends {
        nullable: true;
    } ? T | null : T) | undefined : Mod extends {
        nullable: true;
    } ? T | null : T) ? T_1 extends string ? number | T_1 : T_1 : never : never : Mod extends {
        optional: true;
    } ? (Mod extends {
        nullable: true;
    } ? T | null : T) | undefined : Mod extends {
        nullable: true;
    } ? T | null : T) => void);
}>) => import("vue").VNode & {
    __ctx?: Awaited<typeof __VLS_setup>;
};
type __VLS_PrettifyLocal<T> = (T extends any ? {
    [K in keyof T]: T[K];
} : {
    [K in keyof T as K]: T[K];
}) & {};
