/*! * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. */ import { FluentUITypes } from '@msrvida/fluentui-react-cdn-typings'; import { SandDance } from '@msrvida/sanddance-react'; import { Explorer_Class } from '../explorer'; export interface HistoricInsight extends SandDance.specs.Insight { rebaseFilter?: boolean; historicSetup?: SandDance.types.Setup; } export interface HistoryAction { insert?: boolean; omit?: boolean; label: string; } export interface HistoryItem { label: string; historicInsight: Partial; } export interface Props { disabled?: boolean; themePalette: Partial; historyIndex: number; historyItems: HistoryItem[]; redo: (historyIndex: number) => void; explorer: Explorer_Class; } export declare function History(props: Props): JSX.Element; export declare function getPureInsight(historicInsight: HistoricInsight): SandDance.specs.Insight; export declare function replay(historyItems: HistoryItem[], index: number): Partial;