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<LabelProps>, {
for: undefined;
hasError: boolean;
isRequired: boolean;
showOptional: boolean;
legend: boolean;
isDisabled: boolean;
isSrOnly: boolean;
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LabelProps>, {
for: undefined;
hasError: boolean;
isRequired: boolean;
showOptional: boolean;
legend: boolean;
isDisabled: boolean;
isSrOnly: boolean;
}>>> & Readonly<{}>, {
legend: boolean;
for: string;
hasError: boolean;
isRequired: boolean;
showOptional: boolean;
isSrOnly: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, {
    default?(_: {}): any;
}>;
export default _default;

export declare interface LabelProps {
    /**
     * The `id` of the input element that this label is associated with.
     */
    for?: string;
    /**
     * Indicates whether the label should be styled as an error.
     */
    hasError?: boolean;
    /**
     * Indicates whether the input element that this label is associated with is required.
     */
    isRequired?: boolean;
    /**
     * Indicates whether the label should show that the input is optional.
     */
    showOptional?: boolean;
    /**
     * Indicates whether the wrapper element to be rendered should be a label or a legend.
     */
    legend?: boolean;
    /**
     * Indicates whether the label is disabled.
     */
    disabled?: boolean;
    /**
     * Indicates whether the label should be visually hidden (screen reader only).
     */
    isSrOnly?: boolean;
}

export { }
