import { CommandBase, CommandSimpleOptions } from '../../common/commands/command-base'; import { SimpleCommandState } from '../../common/commands/command-states'; import { DocumentFormat } from '../../common/document-format'; export declare class DownloadDocumentCommand extends CommandBase { getState(): SimpleCommandState; isEnabledInReadOnlyMode(): boolean; executeCore(_state: SimpleCommandState, options: CommandSimpleOptions): boolean; protected download(fileName: string, documentFormat: DocumentFormat): void; isEnabled(): boolean; canModify(): boolean; protected getFileName(options: CommandSimpleOptions): string; } export declare class DownloadDocxCommand extends DownloadDocumentCommand { executeCore(_state: SimpleCommandState, options: CommandSimpleOptions): boolean; } export declare class DownloadRtfCommand extends DownloadDocumentCommand { executeCore(_state: SimpleCommandState, options: CommandSimpleOptions): boolean; } export declare class DownloadTxtCommand extends DownloadDocumentCommand { executeCore(_state: SimpleCommandState, options: CommandSimpleOptions): boolean; } export declare class DownloadHtmlCommand extends DownloadDocumentCommand { executeCore(_state: SimpleCommandState, options: CommandSimpleOptions): boolean; } export declare class DownloadDocumentParameters { fileName: string; documentFormat: DocumentFormat; constructor(documentFormat: DocumentFormat, fileName?: string); }