import { FileLoopStore } from "./file-store"; import { type LoopHandlerOptions } from "./handler"; import { MemoryLoopStore } from "./memory-store"; import { type LoopOptions, type LoopState, type LoopStore } from "./state"; declare class RoutedLoopStore implements LoopStore { private readonly memoryStore; private readonly fileStore; constructor(memoryStore: MemoryLoopStore, fileStore: FileLoopStore); startLoop(sessionId: string, options?: LoopOptions): void; stopLoop(sessionId: string): void; isActive(sessionId: string): boolean; getLoopState(sessionId: string): LoopState | undefined; incrementIteration(sessionId: string): void; markCompletionDetected(sessionId: string): void; clearForTests(clearPersistedFile?: boolean): void; configureFilePathForTests(filePath: string): void; loadPersistedForTests(): void; } export declare const memoryLoopStore: MemoryLoopStore; export declare const fileLoopStore: FileLoopStore; export declare const defaultLoopStore: RoutedLoopStore; export declare function startLoop(sessionId: string, options?: LoopOptions): void; export declare function stopLoop(sessionId: string): void; export declare function isLoopActive(sessionId: string): boolean; export declare function getLoopState(sessionId: string): LoopState | undefined; export declare function clearLoopStateForTests(clearPersistedFile?: boolean): void; export declare function configureLoopStateFilePathForTests(filePath: string): void; export declare function loadPersistedLoopStateForTests(): void; export declare function createLoopPlugin(options?: LoopHandlerOptions): import("../../plugin-api").PluginDefinition; /** * Default plugin registration. The host injects sendContinuationMessage at runtime via createLoopPlugin(). */ export declare const loopPlugin: import("../../plugin-api").PluginDefinition; export {};