/// import { Schema } from '../shared/schema'; import { ISchemaFormProps } from '../types'; export declare const useSchemaForm: (props: ISchemaFormProps) => { form: { submit: (onSubmit?: (values: any) => any) => Promise; reset: (props?: import("@formily/react").IFormResetOptions) => Promise; hasChanged: (target: any, path: import("@formily/react").FormPathPattern) => boolean; clearErrors: (pattern?: import("@formily/react").FormPathPattern) => void; validate: (path?: import("@formily/react").FormPathPattern, opts?: import("@formily/react").IFormExtendedValidateFieldOptions) => Promise; setFormState: (callback?: (state: import("@formily/react").IFormState) => any, silent?: boolean) => void; getFormState: (callback?: (state: import("@formily/react").IFormState) => any) => any; setFieldState: (path: import("@formily/react").FormPathPattern, callback?: (state: import("@formily/react").IFieldState) => void, silent?: boolean) => void; getFieldState: (path: import("@formily/react").FormPathPattern, callback?: (state: import("@formily/react").IFieldState) => any) => any; registerField: ({ path, name, value, initialValue, required, rules, editable, visible, display, computeState, dataType, props }: import("@formily/react").IFieldRegistryProps) => { factory: import("@formily/react").IModelSpec>, import("@formily/react").IFieldStateProps>; state: import("@formily/react").IFieldState; prevState: import("@formily/react").IFieldState; props: import("@formily/react").IFieldStateProps; patches: { op: "replace" | "add" | "remove"; path: (string | number)[]; value?: any; }[]; dirtyStack: import("@formily/react").StateDirtyMap>[]; dirtyCountStack: number[]; batching: boolean; cache: Map; displayName: string; enterCalculateDirtys(): void; existCalculateDirtys(): void; dirtys: import("@formily/react").StateDirtyMap>; dirtyCount: number; getBaseState(): any; getDirtysFromPatches(patches: { op: "replace" | "add" | "remove"; path: (string | number)[]; value?: any; }[], refresh?: boolean): import("@formily/react").StateDirtyMap>; dirtyCheck(path: import("@formily/react").FormPathPattern, nextValue: any): boolean; setState(recipe?: (state?: import("@formily/react").IFieldState) => any, silent?: boolean): void; setSourceState(recipe?: (state?: import("@formily/react").IFieldState) => any): import("@formily/react").IFieldState; getState) => any>(recipe?: T): T extends (state?: import("@formily/react").IFieldState) => any ? ReturnType : import("@formily/react").IFieldState; getSourceState) => any>(recipe?: T_1): T_1 extends (state?: import("@formily/react").IFieldState) => any ? ReturnType : import("@formily/react").IFieldState; batch(callback?: () => void): void; setCache(key: string | number | Symbol, value: any): void; getCache(key: string | number | Symbol): any; removeCache(key: string | number | Symbol): void; isDirty(key?: string): boolean; hasChanged: (pattern?: import("@formily/react").FormPathPattern) => boolean; subscribers: { [key: number]: import("@formily/shared").Subscriber; index?: number; }; subscription: import("@formily/shared").Subscription; subscribe: (callback?: import("@formily/shared").Subscriber) => number; unsubscribe: (index: number) => void; notify: (payload?: any, silent?: boolean) => void; }; registerVirtualField: ({ name, path, display, visible, computeState, props }: import("@formily/react").IVirtualFieldRegistryProps) => { factory: import("@formily/react").IModelSpec>, import("@formily/react").IVirtualFieldStateProps>; state: import("@formily/react").IVirtualFieldState; prevState: import("@formily/react").IVirtualFieldState; props: import("@formily/react").IVirtualFieldStateProps; patches: { op: "replace" | "add" | "remove"; path: (string | number)[]; value?: any; }[]; dirtyStack: import("@formily/react").StateDirtyMap>[]; dirtyCountStack: number[]; batching: boolean; cache: Map; displayName: string; enterCalculateDirtys(): void; existCalculateDirtys(): void; dirtys: import("@formily/react").StateDirtyMap>; dirtyCount: number; getBaseState(): any; getDirtysFromPatches(patches: { op: "replace" | "add" | "remove"; path: (string | number)[]; value?: any; }[], refresh?: boolean): import("@formily/react").StateDirtyMap>; dirtyCheck(path: import("@formily/react").FormPathPattern, nextValue: any): boolean; setState(recipe?: (state?: import("@formily/react").IVirtualFieldState) => any, silent?: boolean): void; setSourceState(recipe?: (state?: import("@formily/react").IVirtualFieldState) => any): import("@formily/react").IVirtualFieldState; getState) => any>(recipe?: T_2): T_2 extends (state?: import("@formily/react").IVirtualFieldState) => any ? ReturnType : import("@formily/react").IVirtualFieldState; getSourceState) => any>(recipe?: T_3): T_3 extends (state?: import("@formily/react").IVirtualFieldState) => any ? ReturnType : import("@formily/react").IVirtualFieldState; batch(callback?: () => void): void; setCache(key: string | number | Symbol, value: any): void; getCache(key: string | number | Symbol): any; removeCache(key: string | number | Symbol): void; isDirty(key?: string): boolean; hasChanged: (pattern?: import("@formily/react").FormPathPattern) => boolean; subscribers: { [key: number]: import("@formily/shared").Subscriber; index?: number; }; subscription: import("@formily/shared").Subscription; subscribe: (callback?: import("@formily/shared").Subscriber) => number; unsubscribe: (index: number) => void; notify: (payload?: any, silent?: boolean) => void; }; createMutators: (input: any) => { change(...values: any[]): any; focus(): void; blur(): void; push(value?: any): any[]; pop(): any[]; insert(index: number, value: any): any; remove(index?: string | number): void; exist(index?: string | number): boolean; unshift(value: any): any; shift(): void; swap($from: number, $to: number): any[]; move($from: number, $to: number): any[]; moveUp(index: number): any[]; moveDown(index: number): any[]; validate(opts?: import("@formily/react").IFormExtendedValidateFieldOptions): Promise; }; getFormGraph: () => any; setFormGraph: (nodes: { [key: string]: any; }) => void; setFieldValue: (path: import("@formily/react").FormPathPattern, value?: any, silent?: boolean) => void; getFieldValue: (path?: import("@formily/react").FormPathPattern) => any; setFieldInitialValue: (path?: import("@formily/react").FormPathPattern, value?: any, silent?: boolean) => void; getFieldInitialValue: (path?: import("@formily/react").FormPathPattern) => any; disableUnmountClearStates: (pattern?: import("@formily/react").FormPathPattern) => void; enableUnmountClearStates: (pattern?: import("@formily/react").FormPathPattern) => void; enableUnmountRemoveNode: () => void; disableUnmountRemoveNode: () => void; isHostRendering: () => boolean; hostUpdate: (callback?: () => any, forceUpdate?: boolean) => any; subscribe: (callback?: import("@formily/react").FormHeartSubscriber) => number; unsubscribe: (id: number) => void; notify: (type: string, payload: any) => void; }; formComponentProps: {}; fields: {}; virtualFields: {}; formComponent: string | ((props: any) => import("react").ReactElement) | (new (props: any) => import("react").Component); formItemComponent: import("react").JSXElementConstructor; schema: Schema; componentPropsInterceptor: (schema: import("../types").ISchema) => any; children: import("react").ReactElement import("react").ReactElement) | (new (props: any) => import("react").Component)> | import("react").ReactElement import("react").ReactElement) | (new (props: any) => import("react").Component)>[] | ((form: { submit: (onSubmit?: (values: any) => any) => Promise; reset: (props?: import("@formily/react").IFormResetOptions) => Promise; hasChanged: (target: any, path: import("@formily/react").FormPathPattern) => boolean; clearErrors: (pattern?: import("@formily/react").FormPathPattern) => void; validate: (path?: import("@formily/react").FormPathPattern, opts?: import("@formily/react").IFormExtendedValidateFieldOptions) => Promise; setFormState: (callback?: (state: import("@formily/react").IFormState) => any, silent?: boolean) => void; getFormState: (callback?: (state: import("@formily/react").IFormState) => any) => any; setFieldState: (path: import("@formily/react").FormPathPattern, callback?: (state: import("@formily/react").IFieldState) => void, silent?: boolean) => void; getFieldState: (path: import("@formily/react").FormPathPattern, callback?: (state: import("@formily/react").IFieldState) => any) => any; registerField: ({ path, name, value, initialValue, required, rules, editable, visible, display, computeState, dataType, props }: import("@formily/react").IFieldRegistryProps) => { factory: import("@formily/react").IModelSpec>, import("@formily/react").IFieldStateProps>; state: import("@formily/react").IFieldState; prevState: import("@formily/react").IFieldState; props: import("@formily/react").IFieldStateProps; patches: { op: "replace" | "add" | "remove"; path: (string | number)[]; value?: any; }[]; dirtyStack: import("@formily/react").StateDirtyMap>[]; dirtyCountStack: number[]; batching: boolean; cache: Map; displayName: string; enterCalculateDirtys(): void; existCalculateDirtys(): void; dirtys: import("@formily/react").StateDirtyMap>; dirtyCount: number; getBaseState(): any; getDirtysFromPatches(patches: { op: "replace" | "add" | "remove"; path: (string | number)[]; value?: any; }[], refresh?: boolean): import("@formily/react").StateDirtyMap>; dirtyCheck(path: import("@formily/react").FormPathPattern, nextValue: any): boolean; setState(recipe?: (state?: import("@formily/react").IFieldState) => any, silent?: boolean): void; setSourceState(recipe?: (state?: import("@formily/react").IFieldState) => any): import("@formily/react").IFieldState; getState) => any>(recipe?: T_4): T_4 extends (state?: import("@formily/react").IFieldState) => any ? ReturnType : import("@formily/react").IFieldState; getSourceState) => any>(recipe?: T_1_1): T_1_1 extends (state?: import("@formily/react").IFieldState) => any ? ReturnType : import("@formily/react").IFieldState; batch(callback?: () => void): void; setCache(key: string | number | Symbol, value: any): void; getCache(key: string | number | Symbol): any; removeCache(key: string | number | Symbol): void; isDirty(key?: string): boolean; hasChanged: (pattern?: import("@formily/react").FormPathPattern) => boolean; subscribers: { [key: number]: import("@formily/shared").Subscriber; index?: number; }; subscription: import("@formily/shared").Subscription; subscribe: (callback?: import("@formily/shared").Subscriber) => number; unsubscribe: (index: number) => void; notify: (payload?: any, silent?: boolean) => void; }; registerVirtualField: ({ name, path, display, visible, computeState, props }: import("@formily/react").IVirtualFieldRegistryProps) => { factory: import("@formily/react").IModelSpec>, import("@formily/react").IVirtualFieldStateProps>; state: import("@formily/react").IVirtualFieldState; prevState: import("@formily/react").IVirtualFieldState; props: import("@formily/react").IVirtualFieldStateProps; patches: { op: "replace" | "add" | "remove"; path: (string | number)[]; value?: any; }[]; dirtyStack: import("@formily/react").StateDirtyMap>[]; dirtyCountStack: number[]; batching: boolean; cache: Map; displayName: string; enterCalculateDirtys(): void; existCalculateDirtys(): void; dirtys: import("@formily/react").StateDirtyMap>; dirtyCount: number; getBaseState(): any; getDirtysFromPatches(patches: { op: "replace" | "add" | "remove"; path: (string | number)[]; value?: any; }[], refresh?: boolean): import("@formily/react").StateDirtyMap>; dirtyCheck(path: import("@formily/react").FormPathPattern, nextValue: any): boolean; setState(recipe?: (state?: import("@formily/react").IVirtualFieldState) => any, silent?: boolean): void; setSourceState(recipe?: (state?: import("@formily/react").IVirtualFieldState) => any): import("@formily/react").IVirtualFieldState; getState) => any>(recipe?: T_2_1): T_2_1 extends (state?: import("@formily/react").IVirtualFieldState) => any ? ReturnType : import("@formily/react").IVirtualFieldState; getSourceState) => any>(recipe?: T_3_1): T_3_1 extends (state?: import("@formily/react").IVirtualFieldState) => any ? ReturnType : import("@formily/react").IVirtualFieldState; batch(callback?: () => void): void; setCache(key: string | number | Symbol, value: any): void; getCache(key: string | number | Symbol): any; removeCache(key: string | number | Symbol): void; isDirty(key?: string): boolean; hasChanged: (pattern?: import("@formily/react").FormPathPattern) => boolean; subscribers: { [key: number]: import("@formily/shared").Subscriber; index?: number; }; subscription: import("@formily/shared").Subscription; subscribe: (callback?: import("@formily/shared").Subscriber) => number; unsubscribe: (index: number) => void; notify: (payload?: any, silent?: boolean) => void; }; createMutators: (input: any) => { change(...values: any[]): any; focus(): void; blur(): void; push(value?: any): any[]; pop(): any[]; insert(index: number, value: any): any; remove(index?: string | number): void; exist(index?: string | number): boolean; unshift(value: any): any; shift(): void; swap($from: number, $to: number): any[]; move($from: number, $to: number): any[]; moveUp(index: number): any[]; moveDown(index: number): any[]; validate(opts?: import("@formily/react").IFormExtendedValidateFieldOptions): Promise; }; getFormGraph: () => any; setFormGraph: (nodes: { [key: string]: any; }) => void; setFieldValue: (path: import("@formily/react").FormPathPattern, value?: any, silent?: boolean) => void; getFieldValue: (path?: import("@formily/react").FormPathPattern) => any; setFieldInitialValue: (path?: import("@formily/react").FormPathPattern, value?: any, silent?: boolean) => void; getFieldInitialValue: (path?: import("@formily/react").FormPathPattern) => any; disableUnmountClearStates: (pattern?: import("@formily/react").FormPathPattern) => void; enableUnmountClearStates: (pattern?: import("@formily/react").FormPathPattern) => void; enableUnmountRemoveNode: () => void; disableUnmountRemoveNode: () => void; isHostRendering: () => boolean; hostUpdate: (callback?: () => any, forceUpdate?: boolean) => any; subscribe: (callback?: import("@formily/react").FormHeartSubscriber) => number; unsubscribe: (id: number) => void; notify: (type: string, payload: any) => void; }) => import("react").ReactElement import("react").ReactElement) | (new (props: any) => import("react").Component)>); };