import { ComputedRef, DefineComponent, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
import { ValidateStatus } from './FormItem';
export interface FormItemContext {
    id: ComputedRef<string>;
    onFieldBlur: () => void;
    onFieldChange: () => void;
    clearValidate: () => void;
}
export declare const useProvideFormItemContext: (props: FormItemContext, useValidation?: ComputedRef<boolean>) => void;
export declare const useInjectFormItemContext: () => FormItemContext;
declare const _default: DefineComponent<{}, () => VNode<RendererNode, RendererElement, {
    [key: string]: any;
}>[] | undefined, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
export default _default;
export interface FormItemStatusContextProps {
    isFormItemInput?: boolean;
    status?: ValidateStatus;
    hasFeedback?: boolean;
    feedbackIcon?: any;
}
export declare const FormItemInputContext: {
    useProvide: (props: FormItemStatusContextProps, newProps?: FormItemStatusContextProps | undefined) => {
        isFormItemInput?: boolean | undefined;
        status?: ValidateStatus | undefined;
        hasFeedback?: boolean | undefined;
        feedbackIcon?: any;
    };
    useInject: () => FormItemStatusContextProps;
};
export declare const NoFormStatus: DefineComponent<{}, () => VNode<RendererNode, RendererElement, {
    [key: string]: any;
}>[] | undefined, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
