import React from 'react'; import './EntryReferenceDetails.css'; export type EntryReferenceDetailsProps = { title?: string; contentType?: string; onEdit?: () => void; onDelete?: () => void; onViewNestedEntries?: () => void; testId?: string; LinkComponent?: any; linkToRow?: string; leftcomponent?: React.ReactNode; version?: string; /** Renders in the actions row (e.g. a control to open the entry in a modal). */ openEntryInModal?: React.ReactNode; /** When true together with `openEntryInModal`, title and edit use `onEdit` instead of `LinkComponent` + `linkToRow`. */ isEntryInModal?: boolean; }; export type EntryTitleAndCTProps = { title?: string; contentType?: string; isentryReferenceMaxWidth?: any; version: string; leftcomponent?: React.ReactNode; }; export type EditIconDomProps = { onEdit?: () => void; LinkComponent?: any; linkToRow?: string; version: string; /** When true, the edit control uses `onEdit` instead of `LinkComponent` navigation. */ skipLinkForModal?: boolean; }; export declare const EntryTitleAndCT: ({ title, contentType, version, leftcomponent }: EntryTitleAndCTProps) => React.JSX.Element; export declare const EditIconDom: ({ onEdit, LinkComponent, linkToRow, version, skipLinkForModal }: EditIconDomProps) => React.JSX.Element; declare const EntryReferenceDetails: (props: EntryReferenceDetailsProps) => React.JSX.Element; export default EntryReferenceDetails;