/** * Slash command registry with metadata for inline completion. * * Assembles slash command entries from the shared constants * and provides filtering utilities for the completion menu. */ import { SlashCommand } from '../../shared/constants.js'; /** * Conditions controlling which slash commands are available. */ export interface CommandAvailability { readonly enableRetryCommand?: boolean; readonly hasPreviousOrder?: boolean; readonly enableSetupCommand?: boolean; readonly enableOpenCommand?: boolean; readonly enableSettingsCommands?: boolean; readonly formalSpec?: boolean; readonly enableTellCommand?: boolean; readonly enabledCommands?: readonly SlashCommand[]; } export declare function resolveFormalSpecCommandAvailability(availability: CommandAvailability, formalSpec: boolean): CommandAvailability; /** * Filter slash commands by prefix match and availability conditions. */ export declare const filterSlashCommands: (prefix: string, availability?: CommandAvailability) => readonly { readonly command: SlashCommand; readonly labelKey: string; }[]; //# sourceMappingURL=slashCommandRegistry.d.ts.map