import type { BaseItem, DecisionState, Handler, ObjectKey, RecentUpdateContext, RecentUpdatesId, TaskDecisionProvider, TaskState } from './types'; export interface MockTaskDecisionResourceConfig { empty?: boolean; error?: boolean; hasMore?: boolean; lag?: number; } export declare class MockTaskDecisionResource implements TaskDecisionProvider { private config?; private subscribers; private cachedItems; private batchedKeys; constructor(config?: MockTaskDecisionResourceConfig); unsubscribeRecentUpdates(_id: RecentUpdatesId): void; notifyRecentUpdates(_updateContext?: RecentUpdateContext): void; getTaskState(_keys: ObjectKey[]): Promise[]>; toggleTask(objectKey: ObjectKey, state: TaskState): Promise; subscribe(objectKey: ObjectKey, handler: Handler): void; unsubscribe(objectKey: ObjectKey, handler: Handler): void; notifyUpdated(objectKey: ObjectKey, state: TaskState | DecisionState): void; private queueItem; private dequeueItem; }