import * as React from 'react'; import { ReactNode } from 'react'; import { RaRecord } from "../../types.js"; import { EditControllerProps, EditControllerResult } from "./useEditController.js"; /** * Call useEditController and put the value in a EditContext * * Base class for components, without UI. * * Accepts any props accepted by useEditController: * - id: The record identifier * - resource: The resource * * @example // Custom edit layout * * const PostEdit = () => ( * * * * * ... * * * * Edit instructions... * * *
* Post related links... *
*
* ); */ export declare const EditBase: ({ authLoading, loading, offline, error, redirectOnError, children, render, ...props }: EditBaseProps) => React.JSX.Element; export interface EditBaseProps extends EditControllerProps { authLoading?: ReactNode; loading?: ReactNode; offline?: ReactNode; error?: ReactNode; children?: ReactNode; render?: (props: EditControllerResult) => ReactNode; } //# sourceMappingURL=EditBase.d.ts.map