import type { AgentPromptSurfaceKind, KlawPluginCommandDefinition } from "./types.js"; export type RegisteredPluginCommand = KlawPluginCommandDefinition & { pluginId: string; pluginName?: string; pluginRoot?: string; }; export declare const pluginCommands: Map; export declare function isPluginCommandRegistryLocked(): boolean; export declare function setPluginCommandRegistryLocked(locked: boolean): void; export declare function clearPluginCommands(): void; export declare function clearPluginCommandsForPlugin(pluginId: string): void; export declare function isTrustedReservedCommandOwner(command: RegisteredPluginCommand): boolean; export declare function listRegisteredPluginCommands(): RegisteredPluginCommand[]; export declare function listRegisteredPluginAgentPromptGuidance(params?: { surface?: AgentPromptSurfaceKind; includeLegacyGlobalGuidance?: boolean; }): string[]; export declare function restorePluginCommands(commands: readonly RegisteredPluginCommand[]): void;