import { ComponentOptionsMixin } from 'vue';
import { ComponentProvideOptions } from 'vue';
import { CurrencyInputOptions } from 'vue-currency-input';
import { DefineComponent } from 'vue';
import { ExtractPropTypes } from 'vue';
import { PropType } from 'vue';
import { PublicProps } from 'vue';
import { Ref } 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];
};

export declare interface CurrencyInputProps extends Omit<InputProps, 'modelValue' | 'type'> {
    inputOptions?: Partial<CurrencyInputOptions>;
    modelValue?: string | null;
    hidePrepend?: boolean;
}

declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CurrencyInputProps>, {
modelValue: null;
errorText: undefined;
hintText: undefined;
label: undefined;
id: undefined;
inputOptions: undefined;
hidePrepend: boolean;
}>>, {
inputEl: Ref<any, any>;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"update:model-value": (v: string | null | undefined) => void;
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CurrencyInputProps>, {
modelValue: null;
errorText: undefined;
hintText: undefined;
label: undefined;
id: undefined;
inputOptions: undefined;
hidePrepend: boolean;
}>>> & Readonly<{
"onUpdate:model-value"?: ((v: string | null | undefined) => any) | undefined;
}>, {
label: string;
id: string;
errorText: string;
hintText: string;
modelValue: string | null;
inputOptions: Partial<CurrencyInputOptions>;
hidePrepend: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
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;
}

declare interface InputProps extends FieldProps {
    /**
     * Autocomplete takes in a string of off or on
     */
    autocomplete?: string;
    /**
     * Value for the input element.
     */
    modelValue?: string | number;
    /**
     * @deprecated Use :model-value or v-model instead of :value.
     */
    value?: string | number | null;
    /**
     * Input type. Excludes certain types that have a dedicated component.
     *
     * Note: For distinguishing between text & number internally, passing `number`
     * will still render an input with a type of `text` (for localization).
     */
    type?: string extends 'button' | 'checkbox' | 'radio' | 'submit' ? never : string;
    /**
     * 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;
}

export { }
