import { ReactNode } from 'react';
import { EditControllerProps, EditControllerResult } from "./useEditController.js";
import { RaRecord } from "../../types.js";
/**
 * Render prop version of the useEditController hook
 *
 * @see useEditController
 * @example
 *
 * const EditView = () => <div>...</div>
 * const MyEdit = props => (
 *     <EditController {...props}>
 *         {controllerProps => <EditView {...controllerProps} {...props} />}
 *     </EditController>
 * );
 */
export declare const EditController: <RecordType extends RaRecord = any, ErrorType = Error>({ children, ...props }: {
    children: (params: EditControllerResult<RecordType, ErrorType>) => ReactNode;
} & EditControllerProps<RecordType, ErrorType>) => ReactNode;
//# sourceMappingURL=EditController.d.ts.map