import { ReactNode } from 'react';
import { CreateControllerProps, CreateControllerResult } from './useCreateController';
import { RaRecord } from '../../types';
/**
 * Render prop version of the useCreateController hook
 *
 * @see useCreateController
 * @example
 *
 * const CreateView = () => <div>...</div>
 * const MyCreate = props => (
 *     <CreateController {...props}>
 *         {controllerProps => <CreateView {...controllerProps} {...props} />}
 *     </CreateController>
 * );
 */
export declare const CreateController: <RecordType extends Omit<RaRecord<import("../../types").Identifier>, "id"> = any, MutationOptionsError = Error>({ children, ...props }: {
    children: (params: CreateControllerResult<RecordType>) => ReactNode;
} & CreateControllerProps<RecordType, MutationOptionsError, RecordType & {
    id: import("../../types").Identifier;
}>) => ReactNode;
//# sourceMappingURL=CreateController.d.ts.map