export declare function skillfmSlashCommandPath(): string; export declare function skillfmSlashCommandAliasPath(): string; export interface SlashCommandRenderOptions { /** Sidecar URL (default http://127.0.0.1:19821) */ sidecar_url?: string; /** Package version (written into command body footer) */ version?: string; } /** * Render the body of /skillfm. Prompt-style (instructs the agent how to * proceed) rather than tool-call-style — a rendered prompt is more robust * across models than a literal tool-call payload. * * The "扫描期间" (scan window) is computed from sidecar local * `~/.skillfm/last-report.json`, which the `skillfm_checkup` tool reads / * updates as a side-effect when called with `since_last_report: true`. */ export declare function renderSkillFmSlashCommand(opts?: SlashCommandRenderOptions): string; export declare function renderSkillFmSlashCommandAlias(opts?: SlashCommandRenderOptions): string; export interface SlashCommandInstallResult { installed: boolean; paths: string[]; /** True if these paths existed before install (overwritten / refreshed). */ refreshed_existing: boolean; error?: string; } /** * Install the /skillfm + /sf slash commands. Idempotent: re-running * overwrites with the latest template body (so version bumps land). */ export declare function installClaudeCodeSlashCommands(opts?: SlashCommandRenderOptions): Promise; export interface SlashCommandRemoveResult { removed: boolean; /** Paths actually removed (subset of [skillfm.md, sf.md]). */ paths: string[]; error?: string; } /** * Remove the /skillfm + /sf slash commands. Only removes files we own * (verified by SLASH_MARKER_START presence) — never deletes a hand-edited * skillfm.md that doesn't carry our marker. */ export declare function removeClaudeCodeSlashCommands(): Promise; /** Detect whether either slash command file is currently installed. */ export declare function detectClaudeCodeSlashCommands(): { installed: boolean; paths: string[]; }; //# sourceMappingURL=slash-commands.d.ts.map