import { ComponentOptionsMixin } from 'vue';
import { ComponentProvideOptions } from 'vue';
import { DefineComponent } from 'vue';
import { ExtractPropTypes } from 'vue';
import { PropType } from 'vue';
import { PublicProps } from '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<InputOptionsProps>, {
modelValue: () => {
value: string;
option: undefined;
};
noTruncate: boolean;
options: () => never[];
type: string;
placeholder: undefined;
displayBy: undefined;
trackBy: undefined;
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"update:model-value": (v: {
value?: string | undefined;
option?: SelectedOption;
isValueChange: boolean;
type: 'input' | 'select';
}) => void;
change: (v: {
value?: string | undefined;
option?: SelectedOption;
isValueChange: boolean;
type: 'input' | 'select';
}) => void;
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputOptionsProps>, {
modelValue: () => {
value: string;
option: undefined;
};
noTruncate: boolean;
options: () => never[];
type: string;
placeholder: undefined;
displayBy: undefined;
trackBy: undefined;
}>>> & Readonly<{
onChange?: ((v: {
value?: string | undefined;
option?: SelectedOption;
isValueChange: boolean;
type: 'input' | 'select';
}) => any) | undefined;
"onUpdate:model-value"?: ((v: {
value?: string | undefined;
option?: SelectedOption;
isValueChange: boolean;
type: 'input' | 'select';
}) => any) | undefined;
}>, {
type: string;
placeholder: string;
trackBy: string;
displayBy: string;
options: any[];
modelValue: {
value: string;
option?: any;
};
noTruncate: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, Readonly<{
    /**
     * Default slot for rendering a custom input field.
     */
    default: (props: {
        fieldId: string;
    }) => void;
    /**
     * Hint slot for rendering a custom hint text.
     */
    hint: () => unknown;
}> & {
    /**
     * Default slot for rendering a custom input field.
     */
    default: (props: {
        fieldId: string;
    }) => void;
    /**
     * Hint slot for rendering a custom hint text.
     */
    hint: () => unknown;
}>;
export default _default;

declare interface FieldProps {
    /**
     * Adds spacing under the field that is consistent whether hint/error text is displayed.
     */
    addBottomSpace?: boolean;
    /**
     * Error text to display. Replaces `hintText` (if provided) & adds error styling.
     */
    errorText?: string;
    /**
     * Displays text below the input; hidden when the isReadOnly prop is truthy.
     */
    hintText?: string;
    /**
     * ID for the Label and Input; must be unique
     */
    id?: string;
    /**
     * ID for the error text element; useful for aria-errormessage
     */
    errorId?: string;
    /**
     * Whether it's a readonly field.
     */
    isReadOnly?: boolean;
    /**
     * Whether the field is required.
     */
    isRequired?: boolean;
    /**
     * Label to render above the input.
     */
    label?: string;
    /**
     * Show "(optional)" to the right of the label text
     */
    showOptionalInLabel?: boolean;
    /**
     * Indicates whether the label should be visually hidden (screen reader only).
     */
    isLabelSrOnly?: boolean;
    /**
     * Indicates wheter the field is a fieldset or not
     */
    fieldset?: boolean;
    /**
     * Indicates whether the field is disabled.
     */
    isDisabled?: boolean;
    /**
     * Indicates whether the field is disabled.
     *
     * @deprecated Use `isDisabled` instead.
     */
    disabled?: boolean;
}

export declare interface InputOptionsProps extends FieldProps {
    /**
     * The current value inclusive of the input & select
     */
    modelValue?: {
        value: string;
        option?: SelectedOption;
    };
    /**
     * Input type
     */
    type?: string extends 'button' | 'checkbox' | 'radio' | 'submit' ? never : string;
    /**
     * Prevents the Selected Option from being truncated, if true
     */
    noTruncate?: boolean;
    /**
     * Options for the select
     */
    options?: Option_2[];
    /**
     * Placeholder text for the input
     * **Note:** placeholders should be used to display examples; they should not be used as labels because they are not accessible as labels. If a real label cannot be used, use the `aria-label` attribute.
     */
    placeholder?: string;
    /**
     * If `options` are an object, this is what prop to use for display.
     */
    displayBy?: string;
    /**
     * Default field to track selected options by.
     */
    trackBy?: string;
}

declare type Option_2 = any;

declare type SelectedOption = any;

export { }
