import { EuiSearchBarProps } from '@elastic/eui'; import { Dispatch, SetStateAction } from 'react'; export type MappingRow = { /** Stable id the table uses to track which rows are expanded. */ id: string; from: string; fromUri: string; to: string; toUri: string; creator: string; type: string; created: string; createdLabel: string; targetFromColiConc: string; fromScheme: string; toScheme: string; identifier: string; modified: string; uri: string; partOf: string; }; type MetadataTarget = { iri: string; ontologyId: string; } | null; /** Everything the list shows or changes, passed down by MappingListWidget. */ type MappingListPresentationProps = { fromLabel: string; rowColor: string; MappingDetailBackgroundColor?: string; labels: Record; filteredRows: MappingRow[]; search: EuiSearchBarProps; expandedRowIds: string[]; toggleRowExpansion: (row: MappingRow) => void; metadataTarget: MetadataTarget; setMetadataTarget: Dispatch>; isTypeFilterOpen: boolean; setIsTypeFilterOpen: Dispatch>; selectedTypeFilters: string[]; setSelectedTypeFilters: Dispatch>; setAppliedTypeFilters: Dispatch>; toggleTypeFilter: (type: string) => void; isPopoverOpen: boolean; onButtonClick: () => void; closePopover: () => void; }; /** UI of the mapping list; all state and data come from MappingListWidget. */ export default function MappingListPresentation(props: MappingListPresentationProps): React.JSX.Element; export {};