import type { PlatformAdapter } from '../../../platform/index.js'; import type { CommandActionRouter } from '../../interactions/command-action-router.js'; export interface CommandDeps { scheduler: any; cancelDispatchedTask?: ((opts: { taskId: string; channel: string; }) => Promise<{ ok: boolean; message: string; }>) | null; getExecutionStatusReport?: (() => string) | null; commandRouter?: CommandActionRouter; } export declare function registerCommands(deps: CommandDeps): (trimmedMessage: string | undefined, channel: string, adapter: PlatformAdapter, threadAnchorId?: string | null) => boolean;