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, }: WithRecordProps) => React.JSX.Element | null;
export interface WithRecordProps = any> {
render: (record: RecordType) => ReactNode;
label?: string;
}
//# sourceMappingURL=WithRecord.d.ts.map