import { type CliCommandContractV1 } from '@nexusclaw/shared'; type Predicate = 'always' | 'target_org_configured' | 'offline_requested' | 'selector_is_caller_or_active' | 'selector_is_candidate' | 'candidate_contains_code' | 'candidate_contains_flow' | 'workspace_has_bundle' | 'local_code_passed' | 'local_flow_passed' | 'evidence_complete' | 'release_approval_approved' | 'gate_eligible' | 'rollback_target_release' | 'rollback_target_none' | 'emergency_revoke_requested'; export declare function projectImplementedNextCommands(contracts: readonly CliCommandContractV1[]): CliCommandContractV1[]; export declare function buildImplementedCommandOrder(contracts: readonly CliCommandContractV1[]): { schemaVersion: "nexusclaw.command-order/v1"; nodes: { nodeId: string; commandId: string; modeId: string; contractDigest: `sha256:${string}`; }[]; edges: { from: string; to: string; when: { allOf: { kind: Predicate; }[]; }; authorization: "none" | "explicit_user"; }[]; }; export {};