/** Shared by prompt delivery and best-effort transcript restoration. */ export declare const COMMAND_TEMPLATE_PREFIX = "## Command Template\n\n"; export declare const COMMAND_INVOCATION_SEPARATOR: string; export declare const COMMAND_INVOCATION_SUFFIX = "\n\nApply the User Instructions above to this invocation. Where they explicitly conflict with the Command Template, follow the User Instructions, not the template default. Preserve non-conflicting procedure steps and all higher-priority instructions and permissions."; export declare function expandPromptCommand(template: string, args: string): string; export declare const LEGACY_COMMAND_ARGS_SEPARATOR = "\n\n## User Instructions\n\n"; /** Best-effort matching only; persisted invocation metadata takes precedence. */ export declare function matchPromptCommand(text: string, commands: readonly T[]): { command: T; args: string | null; } | null;