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<TextAreaProps>, {
modelValue: string;
value: null;
resize: boolean;
maxlength: undefined;
rows: undefined;
placeholder: undefined;
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
"update:model-value": (value: string) => void;
}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TextAreaProps>, {
modelValue: string;
value: null;
resize: boolean;
maxlength: undefined;
rows: undefined;
placeholder: undefined;
}>>> & Readonly<{
"onUpdate:model-value"?: ((value: string) => any) | undefined;
}>, {
resize: boolean | TextareaResizeOptions;
placeholder: string;
modelValue: string;
value: string | number | null;
maxlength: number;
rows: number;
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
    hint?(_: {}): 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;
}

export declare interface TextAreaProps extends FieldProps {
    /**
     * Value for the textarea element.
     */
    modelValue?: string;
    /**
     * Deprecated. Use :model-value or v-model instead of :value.
     * @deprecated Use :model-value or v-model instead of :value.
     */
    value?: string | number | null;
    /**
     * Allow textarea to be resizable vertically.
     * Alternatively if you want to disable automatic scroll when resizing, you can set `{ forceBrowserScroll: false }`
     */
    resize?: boolean | TextareaResizeOptions;
    /**
     * Placeholder text for the textarea element.
     * **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;
    /**
     * Number of rows to display in the textarea.
     */
    rows?: number;
    /**
     * Maximum number of characters allowed in the textarea.
     */
    maxlength?: number;
}

export declare interface TextareaResizeOptions {
    /**
     * It will automatically scroll the page down when it reaches the bottom of the viewport/element
     */
    forceBrowserScroll: boolean;
}

export { }
