import { PaginationProps } from '../../Pagination'; import { ListToolbarProps } from '../../ra-lists'; import { DatagridProps } from '../../ra-lists/Datagrid/Datagrid'; import { DialogContentProps, DialogProps } from '@mui/material'; import { Identifier, ListControllerProps, RaRecord } from 'ra-core'; import { PropsWithChildren } from 'react'; type RecordRepresentationType = (record: RaRecord) => string; type EntityFieldProps = { id: Identifier; onClick?: (record: RaRecord) => void; onDelete?: (record: RaRecord) => void; recordRepresentation?: RecordRepresentationType; resource: string; }; type EntityLookupDialogProps = PropsWithChildren<{ onCancel: () => void; onConfirm: (selectedIds: Identifier[]) => void; multiple: boolean; slotProps?: { dataGrid?: DatagridProps; dialog?: DialogProps; dialogContent?: DialogContentProps; list?: ListControllerProps; listToolbar?: Pick; pagination?: PaginationProps; }; }>; declare function EntityField(props: EntityFieldProps): JSX.Element | null; declare function EntityLookupDialog(props: EntityLookupDialogProps): JSX.Element; export { EntityField, EntityLookupDialog }; export type { EntityFieldProps, EntityLookupDialogProps, RecordRepresentationType }; //# sourceMappingURL=common.d.ts.map