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 { PdfPrintTask } from '../typing';
export declare class PrintPdfDocumentActionWidget extends AbstractTaskAction<PdfPrintTask> {
    protected get moduleName(): string;
    protected get sync(): boolean;
    /**
     * 生成GQL
     * @param task 打印任务
     * @param condition 过滤表达式
     * @protected
     */
    protected generatorGQLByTask(task: PdfPrintTask, condition: string | Condition): Promise<string>;
    protected createTask(runtimeContext: RuntimeContext, task: PdfPrintTask, condition: string | Condition): Promise<PdfPrintTask>;
    /**
     * 获取PDF文档定义ID
     * @protected
     */
    protected getDocumentDefinitionId(): ReturnPromise<string | undefined>;
    protected executeAction(action: RuntimeServerAction, parameters: SubmitValue): Promise<ClickResult>;
}
