import { ReactElement } from 'react'; import { CreateControllerProps } from './useCreateController'; /** * Create a Create Context. * * @example * * const MyCreate = (props) => { * const controllerProps = useCreateController(props); * return ( * * * * ); * }; * * const MyCreateView = () => { * const record = useRecordContext(); * // or, to rerender only when the save operation change but not data * const { saving } = useCreateContext(); * } * * @see CreateContext * @see RecordContext */ export declare const CreateContextProvider: ({ children, value, }: { children: ReactElement; value: CreateControllerProps; }) => JSX.Element;