///
///
declare const _default: {
new = import("uniforms").ValidatedFormProps, State extends import("uniforms").ValidatedFormState = import("uniforms").ValidatedFormState>(props: Props): {
validate: (key?: string | undefined, value?: unknown) => Promise;
validateModel: (originalModel: any) => Promise;
getContextError(): unknown;
getContext(): import("uniforms").Context;
getNativeFormProps(): {
[key: string]: unknown;
onSubmit: (event?: import("react").SyntheticEvent | undefined) => Promise;
key: string;
};
componentDidUpdate(prevProps: Props, prevState: State, snapshot: never): void;
onChange(key: string, value: unknown): void;
__reset(state: State): Partial;
onSubmit(event?: import("react").SyntheticEvent | undefined): Promise;
onValidate(key?: string | undefined, value?: unknown): Promise;
onValidateModel(originalModel: Props["model"]): Promise;
componentDidMount(): void;
componentWillUnmount(): void;
delayId?: NodeJS.Timeout | undefined;
mounted: boolean;
reset: () => void;
change: (key: string, value: unknown) => void;
submit: (event?: import("react").SyntheticEvent | undefined) => Promise;
randomId: () => string;
getContextName(): string[];
getContextModel(): Model;
getContextState(): {
disabled: boolean;
readOnly: boolean;
showInlineError: boolean;
};
getContextSchema(): import("uniforms").Bridge;
getContextOnChange(): (key: string, value: unknown) => void;
getContextOnSubmit(): (event?: import("react").SyntheticEvent | undefined) => unknown;
getModel(mode?: import("uniforms").ModelTransformMode | undefined, model?: Model | undefined): Model;
onReset(): void;
render(): JSX.Element;
context: any;
setState(state: State | Pick | ((prevState: Readonly, props: Readonly) => State | Pick | null) | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly & Readonly<{
children?: import("react").ReactNode;
}>;
state: Readonly;
refs: {
[key: string]: import("react").ReactInstance;
};
shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
};
Validated: typeof import("uniforms").Validated;
displayName: string;
defaultProps: {
onValidate(model: unknown, error: unknown): unknown;
validate: string;
autosave: boolean;
autosaveDelay: number;
error: null;
model: any;
noValidate: boolean;
onSubmit(): void;
};
contextType?: import("react").Context | undefined;
} & {
new = import("uniforms").QuickFormProps, State_1 extends import("uniforms").QuickFormState = import("uniforms").QuickFormState>(props: Props_1): {
getNativeFormProps(): {
[key: string]: unknown;
onSubmit: (event?: import("react").SyntheticEvent | undefined) => Promise;
key: string;
};
getAutoField(): import("react").ComponentType<{
name: string;
}>;
getErrorsField(): import("react").ComponentType<{}>;
getSubmitField(): import("react").ComponentType<{}>;
componentDidMount(): void;
componentDidUpdate(prevProps: Props_1, prevState: State_1, snapshot: never): void;
componentWillUnmount(): void;
delayId?: NodeJS.Timeout | undefined;
mounted: boolean;
reset: () => void;
change: (key: string, value: unknown) => void;
submit: (event?: import("react").SyntheticEvent | undefined) => Promise;
randomId: () => string;
getContext(): import("uniforms").Context;
getContextName(): string[];
getContextError(): unknown;
getContextModel(): Model_1;
getContextState(): {
disabled: boolean;
readOnly: boolean;
showInlineError: boolean;
};
getContextSchema(): import("uniforms").Bridge;
getContextOnChange(): (key: string, value: unknown) => void;
getContextOnSubmit(): (event?: import("react").SyntheticEvent | undefined) => unknown;
getModel(mode?: import("uniforms").ModelTransformMode | undefined, model?: Model_1 | undefined): Model_1;
onChange(key: string, value: unknown): void;
__reset(state: State_1): Partial;
onReset(): void;
onSubmit(event?: import("react").SyntheticEvent | undefined): Promise;
render(): JSX.Element;
context: any;
setState(state: State_1 | Pick | ((prevState: Readonly, props: Readonly) => State_1 | Pick | null) | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly & Readonly<{
children?: import("react").ReactNode;
}>;
state: Readonly;
refs: {
[key: string]: import("react").ReactInstance;
};
shouldComponentUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): boolean;
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, prevState: Readonly): any;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, nextState: Readonly, nextContext: any): void;
};
Quick: typeof import("uniforms").Quick;
displayName: string;
defaultProps: {
autosave: boolean;
autosaveDelay: number;
error: null;
model: any;
noValidate: boolean;
onSubmit(): void;
};
contextType?: import("react").Context | undefined;
} & typeof import("uniforms").BaseForm;
export default _default;
//# sourceMappingURL=ValidatedQuickForm.d.ts.map