import { ReactElement } from 'react';
import { RaRecord } from '../../types';
/**
* Render prop version of useRecordContext
*
* @example
* const BookShow = () => (
*
*
* {record.title}} />
*
*
* );
*/
export declare const WithRecord: ({ render, }: WithRecordProps) => ReactElement>;
export interface WithRecordProps {
render: (record: RecordType) => ReactElement;
label?: string;
}
//# sourceMappingURL=WithRecord.d.ts.map