import { XyFormRule } from './context.js';
import { FormProp } from './utils.js';
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
export interface FormItemProps {
    label?: string;
    prop?: FormProp;
    rules?: XyFormRule[];
    required?: boolean;
    help?: string;
}
declare function __VLS_template(): {
    attrs: Partial<{}>;
    slots: {
        default?(_: {}): any;
    };
    refs: {
        rootRef: HTMLDivElement;
    };
    rootEl: HTMLDivElement;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<FormItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<FormItemProps> & Readonly<{}>, {
    label: string;
    help: string;
    required: boolean;
    rules: XyFormRule[];
    prop: FormProp;
}, {}, {}, {}, string, ComponentProvideOptions, false, {
    rootRef: HTMLDivElement;
}, HTMLDivElement>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
    new (): {
        $slots: S;
    };
};
