import * as React from 'react';
import { ReactNode } from 'react';
/**
* Render prop version of useRecordContext
*
* @example
* const BookShow = () => (
*
*
* {record.title}} />
*
*
* );
*/
export declare const WithRecord: = any>({ render, empty, }: WithRecordProps) => string | number | boolean | React.JSX.Element | Iterable | null;
export interface WithRecordProps = any> {
render: (record: RecordType) => ReactNode;
empty?: ReactNode;
label?: string;
}
//# sourceMappingURL=WithRecord.d.ts.map