/// import * as maa from './maa'; import { TaskerBase } from './tasker'; export declare class Context { #private; handle: maa.ContextHandle; constructor(handle: maa.ContextHandle); run_pipeline(entry: string, pipeline_override?: Record): Promise<{ entry: string; nodes: ({ name: string; reco: { name: string; algorithm: string; hit: boolean; box: maa.Rect; detail: string; raw: ArrayBuffer; draws: ArrayBuffer[]; } | null; completed: boolean; } | null)[]; status: maa.Status; } | null>; run_recognition(entry: string, image: ArrayBuffer | Buffer, pipeline_override?: Record): Promise<{ name: string; algorithm: string; hit: boolean; box: maa.Rect; detail: string; raw: ArrayBuffer; draws: ArrayBuffer[]; } | null>; run_action(entry: string, box: maa.Rect, reco_detail: string, pipeline_override?: Record): Promise<{ name: string; reco: { name: string; algorithm: string; hit: boolean; box: maa.Rect; detail: string; raw: ArrayBuffer; draws: ArrayBuffer[]; } | null; completed: boolean; } | null>; override_pipeline(pipeline_override: Record): void; override_next(name: string, next: string[]): void; get task_id(): maa.TaskId; get tasker(): TaskerBase; clone(): Context; }