import type { CliCommandContractV1, CliExecutionModeV1 } from '@nexusclaw/shared'; export interface RegisteredCommandContract { contract: CliCommandContractV1; registeredAt: string; } export declare function implementedModesOf(contract: CliCommandContractV1): CliExecutionModeV1[]; export declare function hasImplementedMode(contract: CliCommandContractV1): boolean; export declare const CLI_COMMAND_NOT_IMPLEMENTED = "CLI_COMMAND_NOT_IMPLEMENTED"; export declare function resolveInternalDispatch(contract: CliCommandContractV1, modeId: string): { readonly ok: true; readonly implementationId: string; } | { readonly ok: false; readonly code: typeof CLI_COMMAND_NOT_IMPLEMENTED; };