import * as React from "react"; import { FieldProps } from "../types"; export declare function getPropsWithInnerUiSchema(props: FieldProps): FieldProps; type Constructor = new (...args: any[]) => LFC; interface LajiFormComponentForVirtualSchemaField extends Omit, "render"> { getStateFromProps?(propsWithInnerUiSchema: FieldProps, origProps: FieldProps): any; render?(): React.ReactNode; } /** * Virtual SchemaFields are components which are just state transforming machines. */ export default function VirtualSchemaField>(ComposedComponent: LFC): { new (...args: any[]): { UNSAFE_componentWillReceiveProps: (props: any, nextContext: any) => void; getUiOptions(): any; getStateFromProps: (props: FieldProps) => any; render: () => React.ReactNode; state: Readonly<{}>; context: any; setState: (state: {} | ((prevState: Readonly<{}>, props: Readonly) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined) => void; forceUpdate: (callback?: (() => void) | undefined) => void; readonly props: Readonly & Readonly<{ children?: React.ReactNode; }>; refs: { [key: string]: React.ReactInstance; }; componentDidMount?: (() => void) | undefined; shouldComponentUpdate?: ((nextProps: Readonly, nextState: Readonly<{}>, nextContext: any) => boolean) | undefined; componentWillUnmount?: (() => void) | undefined; componentDidCatch?: ((error: Error, errorInfo: React.ErrorInfo) => void) | undefined; getSnapshotBeforeUpdate?: ((prevProps: Readonly, prevState: Readonly<{}>) => any) | undefined; componentDidUpdate?: ((prevProps: Readonly, prevState: Readonly<{}>, snapshot?: any) => void) | undefined; componentWillMount?: (() => void) | undefined; UNSAFE_componentWillMount?: (() => void) | undefined; componentWillReceiveProps?: ((nextProps: Readonly, nextContext: any) => void) | undefined; componentWillUpdate?: ((nextProps: Readonly, nextState: Readonly<{}>, nextContext: any) => void) | undefined; UNSAFE_componentWillUpdate?: ((nextProps: Readonly, nextState: Readonly<{}>, nextContext: any) => void) | undefined; }; displayName: string; } & LFC; export {};