/*! * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. */ import { base } from '../base'; import { DataExportHandler, DataExportType } from '../interfaces'; import { SandDance } from '@msrvida/sanddance-react'; import Snapshot = SandDance.types.Snapshot; export interface IInitializer { fileName: string; } export interface Props { initializer: IInitializer; data: object[]; dataExportHandler: DataExportHandler; disabled?: boolean; theme: string; } export interface State { initializer: IInitializer; dialogHidden: boolean; exportType: DataExportType; fileName: string; fileNameError: string; working: boolean; delayAction?: () => void; } export declare const DataExportPicker: typeof DataExportPicker_Class; export declare class DataExportPicker_Class extends base.react.Component { } export declare function removeExtensions(fileName: string): string; export declare function getEmbedHTML(data: object[], displayName: string, snapshots?: Snapshot[]): string;