import { Component } from 'react';
import GlobalState from '../lib/state';
export * from 'antd-mobile';
import 'antd-mobile/dist/antd-mobile.css';
import './antd.css';
export declare type Form = any;
export declare class AForm extends GlobalState<{
    form: Form;
}> {
    getFieldProps: (name: string, ...args: any[]) => any;
    getFieldsError: (...args: any[]) => any;
    getFieldError: (...args: any[]) => any;
    validateFields: (...args: any[]) => any;
    getFieldDecorator: (...args: any[]) => any;
    isFieldsTouched: (...args: any[]) => any;
    isFieldValidating: (...args: any[]) => any;
    getFieldValue: (...args: any[]) => any;
    private _check;
    get canSubmit(): boolean;
    isCanSubmit(): boolean;
    componentDidMount(): Promise<void>;
    componentWillUnmount(): void;
    onLoad(): void;
    onUnload(): void;
    rulesRequired(message: any): {
        validator: (rule: any, value: any, callback: any, source: any, options: any) => void;
        message: any;
    };
}
export interface AFItemProps {
    name: string;
    form: Form;
    tag?: any;
    type?: string;
    errorIcon?: string;
    error?: any;
    onErrorClick?: ((e: any) => void);
    initialValue?: any;
    rules?: any[];
}
export declare class AFItem extends Component<AFItemProps> {
    get name(): string;
    get form(): any;
    render(): JSX.Element;
}
