import type { ExtensionCommandContext } from "@earendil-works/pi-coding-agent"; import { type ExtensionRuntime } from "./runtime.js"; /** * /recall 命令处理。 */ /** * 注册 /recall。 */ export declare function registerRecallCommand(pi: { registerCommand: (name: string, options: { description?: string; handler: (args: string, ctx: ExtensionCommandContext) => Promise; }) => void; }, runtime: ExtensionRuntime): void; /** * 解析并执行子命令。 */ export declare function handleRecall(args: string, ctx: ExtensionCommandContext, runtime: ExtensionRuntime): Promise; /** * 空格分词(保留简单形态)。 */ export declare function splitArgs(input: string): string[]; //# sourceMappingURL=commands.d.ts.map