/** * Command Handler Module for pi-learn * Handles /learn commands and UI notifications */ import type { ExtensionContext } from "@mariozechner/pi-coding-agent"; import type { SQLiteStore } from "./store.js"; import type { ContextAssembler } from "./context.js"; import type { Config } from "./config.js"; export interface CommandContext { store: SQLiteStore; contextAssembler: ContextAssembler; config: Config; getActiveWorkspaceId: () => string; runDream: (scope?: "user" | "project", notify?: (message: string, type?: "info" | "warning" | "error") => void) => Promise<{ userScopeCount: number; projectScopeCount: number; totalConclusions: number; }>; } export declare function createCommandHandler(context: CommandContext): (args: string, ctx: ExtensionContext) => Promise; //# sourceMappingURL=commands.d.ts.map