///
///
import { Stream } from 'stream';
import { Order } from '../context/db/impl/order';
import { Criterion, CriterionV3 } from '../kunlun/operator/impl/logic';
import { IInnerAPIRequest, OpenSDKGetRecordsReq, UploadFileResp } from './interface';
import { ExecutionInfo, ExecutionResult, RevokeExecutionOptions } from '@byted-apaas/server-common-node/context/workflow/workflow';
import { AppCtx } from '../application/application';
import { IApprovalInstance, IApprovalInstanceListOptions, IApprovalInstanceList, IGetApprovalInstanceOptions } from "./structs";
export declare function updateWorkflowVariables(ctx: any, instanceId: number, variables: object, variableTypes: object): Promise;
export declare class RequestHttp implements IInnerAPIRequest {
constructor();
updateWorkflowVariables(ctx: any, instanceId: number, variables: object, variableTypes: object): any;
createRecordBySync(objectApiName: string, record: object, authType: string): any;
createRecordBySyncV3(objectApiName: string, record: object, authType: string): any;
updateRecordBySync(objectApiName: string, recordID: number, record: object, authType: string): any;
updateRecordBySyncV3(objectApiName: string, recordID: string, record: object, authType: string): any;
deleteRecordBySync(objectApiName: string, recordID: number, authType: string): any;
deleteRecordBySyncV3(objectApiName: string, recordID: string, authType: string): any;
createRecordsByAsync(objectApiName: string, records: object[], authType: string): any;
updateRecordsByAsync(objectApiName: string, recordMap: Record, authType: string): any;
deleteRecordsByAsync(objectApiName: string, recordIDs: number[], authType: string): any;
createRecordsBySync(objectApiName: string, records: object[], authType: string): any;
createRecordsBySyncV3(objectApiName: string, records: object[], authType: string): any;
updateRecordsBySync(objectApiName: string, recordMap: Record, authType: string): Promise>;
updateRecordsBySyncV3(objectApiName: string, records: object[], authType: string): Promise>;
deleteRecordsBySync(objectApiName: string, recordIDs: number[], authType: string): Promise>;
deleteRecordsBySyncV3(objectApiName: string, recordIDs: string[], authType: string): Promise>;
getRecordsOrCountByCriterion(objectApiName: string, criterion: string | Criterion, order: Order[], fuzzySearch: any, ignoreBackLookupField: boolean, fieldApiNames: string[], offset: number, limit: number, needCount: boolean, authType: string): any;
getRecordsV3OrCounByCriterion(objectApiName: string, criterion: string | CriterionV3, quickQuery: string, quickQueryFields: string[], order: Order[], fieldApiNames: string[], offset: number, limit: number, needCount: boolean, authType: string): any;
uploadFile(data: Stream, expire: number, fileName?: string): Promise;
downloadFileByID(fileID: string, filePath?: string): Promise;
downloadFileByToken(fileToken: string, filePath?: string): Promise;
createMessage(msg: any): Promise;
updateMessage(msgId: number, msg: any): Promise;
getFields(objectApiName: string): any;
getField(objectApiName: string, fieldApiName: string): any;
terminateWorkflowInstance(workflowInstanceId: number, operator: number, reason: string): any;
modifyRecordsWithTransaction(placeholders: Record, operations: object[], authType: string, version: string): Promise