import { FetchedState, ID } from '../../../commonStateTypes/common'; import { EntityType as SpendManagementEntityType } from '../../../entity/entityApprovalStatus/entityApprovalStatusState'; import { ZeniDate } from '../../../zeniDayJS'; export declare const getEntityHistoryDetailKey: (entityId: ID, entityType: SpendManagementEntityType) => string; type EntityHistoryDetailKey = ReturnType; export interface CommonHistoryView extends FetchedState { historicEvents: HistoricEvent[]; } export declare const initialCommonHistory: CommonHistoryView; export interface HistoricEvent { eventSubText: string[]; eventText: string[]; updates: HistoricEventUpdate[]; paymentTraceId?: string | null; timestamp?: ZeniDate; } export interface HistoricEventUpdate { description: string[]; displayType: HistoricEventUpdateDisplayType; title: string; type: HistoricEventUpdateType; } export interface CommonHistoryState { historyById: Record; } export declare const toHistoricEventUpdateType: (v: string) => "deleted" | "created" | "updated"; type HistoricEventUpdateType = ReturnType; export declare const toHistoricEventUpdateDisplayType: (v: string) => "inline" | "list" | "sentence"; type HistoricEventUpdateDisplayType = ReturnType; export {};