import { TaskContextBackend } from './TaskContextBackend'; import { TaskMonitor } from './TaskMonitor'; import { TaskContext } from './TaskContext'; interface TaskContextOptions { appId: string; env: string; name: string; lambdaContext: any; traceId: string; source: string; backendUrl: string; } export declare class InternalTaskContext { private startTime; backend: TaskContextBackend; monitor: TaskMonitor; userId?: string; userContext: TaskContext; appId: string; env: string; name: string; lambdaContext: any; traceId: string; source: string; constructor(opts: TaskContextOptions); setToken(token: string): void; get token(): any; setBackend(opts: { baseUrl?: string; instance?: string; }): void; setUserId(userId: string): void; getRemainingTime(): any; stopMonitor(): void; hydrateObject(obj: any): any; } export {};