import type { Evt } from 'evt'; import Logger from '../classes/Logger'; import { T_IO_PROPS, Serializable, SerializableRecord, ImageSchema } from '../ioSchema'; import { EventualValue } from '../types'; export interface EventualMetaItem { label: string; value?: EventualValue; url?: EventualValue; image?: EventualValue; route?: EventualValue; /** @deprecated Please use `route` instead */ action?: EventualValue; params?: EventualValue; } export default function displaymetadata(logger: Logger): (props: Pick, 'layout'> & { data: EventualMetaItem[]; }, onPropsUpdate?: Evt>) => { props: T_IO_PROPS<'DISPLAY_METADATA'>; };