import { Context } from "../imports/Context"; import { Function } from "../imports/Function"; import { FlowRunnerResult } from "./FlowRunnerResult"; import { Scriptable } from "../imports/Scriptable"; export declare class FlowRunner { action(actionScopeDotName?: string): FlowRunner; addInput(name?: string, object?: any): FlowRunner; asUser(): FlowRunner; compile(force?: boolean): boolean; constructor( cx?: Context, args?: any[], ctorObj?: Function, inNewExpr?: boolean ); datastream(datastreamScopeDotName?: string): FlowRunner; flow(flowScopeDotName?: string): FlowRunner; inBackground(): FlowRunner; inDomain(domainIdOrName?: string): FlowRunner; inForeground(): FlowRunner; quick(): FlowRunner; restartFlowFromContext( contextId?: string, providedInputs?: Record ): FlowRunnerResult; run(): FlowRunnerResult; sourceRecordId(sourceRecordId?: string): FlowRunner; sourceTable(sourceTable?: string): FlowRunner; subflow(subflowScopeDotName?: string): FlowRunner; timeout(timeoutInMillis?: number): FlowRunner; validateInputs(validateInputs?: boolean): FlowRunner; withConnectionAliasOverride(alias?: string, override?: string): FlowRunner; withInputs(collection?: Scriptable): FlowRunner; withRoles(): FlowRunner; }