import type { Context } from '@deepseek-ai/cordis'; import type { CommandResult } from '@deepseek-ai/dsh-commands'; import type { GuardRuntime } from '../hooks/runtime.js'; /** Write one restored value to an owner-only file, refusing to overwrite. */ export declare function writeRestoreFile(target: string, value: string): Promise; /** * Execute one `/guard` invocation. Exported for unit tests; the command * adapter only forwards `rawInput`. */ export declare function runGuardCommand(runtime: GuardRuntime, rawInput: string): Promise; /** Register the command when the host exposes the interactive command service. */ export declare function registerGuardCommands(ctx: Context, runtime: GuardRuntime): void; //# sourceMappingURL=guard.d.ts.map