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