import { RuntimeContext, RuntimeServerAction, SubmitValue } from '@oinone/kunlun-engine';
import { Condition } from '@oinone/kunlun-request';
import { ReturnPromise } from '@oinone/kunlun-shared';
import { ClickResult } from '../../../typing';
import { AbstractTaskAction } from '../../task';
import { ExcelExportTask } from '../typing';
export declare class ExportWorkbookActionWidget extends AbstractTaskAction<ExcelExportTask> {
    protected get moduleName(): string;
    protected get sync(): boolean;
    protected generatorGQLByTask(task: ExcelExportTask, condition: string | Condition): Promise<string>;
    protected createTask(searchRuntimeContext: RuntimeContext, task: ExcelExportTask, condition: string | Condition): Promise<ExcelExportTask>;
    protected getWorkbookId(): ReturnPromise<string | undefined>;
    protected executeAction(action: RuntimeServerAction, parameters: SubmitValue): Promise<ClickResult>;
    protected doTaskByPrepare(searchRuntimeContext: RuntimeContext, task: ExcelExportTask, condition: Condition | string): Promise<boolean>;
    protected generatorGQLByTaskByPrepare(requestId: string): Promise<string>;
    protected getSessionPath(): string | undefined;
    /**
     * @deprecated please using sync
     */
    protected get syncExport(): boolean;
    /**
     * @deprecated please using generatorGQLByTask
     */
    protected getUploadBodyGql(id: any, condition: string | Condition): string;
    /**
     * @deprecated please using generatorGQLByTask
     */
    protected getUploadBodyGqlByTask(task: ExcelExportTask, condition: string | Condition): Promise<string>;
    /**
     * @deprecated please using doTask
     */
    protected doExport(runtimeContext: RuntimeContext, task: ExcelExportTask, condition: Condition | string): Promise<boolean>;
}
