openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
18 lines (17 loc) • 689 B
TypeScript
import { resolveEmbeddedSessionLane } from "../../../agents/pi-embedded.js";
import { clearCommandLane } from "../../../process/command-queue.js";
export type ClearSessionQueueResult = {
followupCleared: number;
laneCleared: number;
keys: string[];
};
declare const defaultQueueCleanupDeps: {
resolveEmbeddedSessionLane: typeof resolveEmbeddedSessionLane;
clearCommandLane: typeof clearCommandLane;
};
export declare const __testing: {
setDepsForTests(deps: Partial<typeof defaultQueueCleanupDeps> | undefined): void;
resetDepsForTests(): void;
};
export declare function clearSessionQueues(keys: Array<string | undefined>): ClearSessionQueueResult;
export {};