/*! * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. */ import { base } from '../base'; import { Explorer_Class } from '../explorer'; import { FluentUITypes } from '@msrvida/fluentui-react-cdn-typings'; import { SandDance } from '@msrvida/sanddance-react'; import Snapshot = SandDance.types.Snapshot; export interface SnapshotEditorProps { modifySnapShot?: (snapshot: Snapshot) => void; getTitle?: (insight: SandDance.specs.Insight) => string; getDescription?: (insight: SandDance.specs.Insight) => string; } export interface Props extends SnapshotEditorProps { explorer: Explorer_Class; theme: string; onWriteSnapshot: (snapshot: Snapshot, editIndex: number) => void; themePalette: Partial; } export interface Confirmation { buttonText: string; handler: () => void; } export interface State extends Snapshot { showEditFormDialog: boolean; editIndex: number; } export declare const SnapshotEditor: typeof SnapshotEditor_Class; export declare class SnapshotEditor_Class extends base.react.Component { editSnapshot(snapshot?: Snapshot, editIndex?: number): any; }