/** * Direct CLI Tool Commands * * Exposes GitNexus tools (query, context, impact, cypher) as direct CLI commands. * Bypasses MCP entirely — invokes LocalBackend directly for minimal overhead. * * Usage: * gitnexus query "authentication flow" * gitnexus context --name "validateUser" * gitnexus impact --target "AuthService" --direction upstream * gitnexus cypher "MATCH (n:Function) RETURN n.name LIMIT 10" * * Note: Output goes to stdout via fs.writeSync(fd 1), bypassing LadybugDB's * native module which captures the Node.js process.stdout stream during init. * See the output() function for details (#324). */ import type { UnityEvidenceMode, UnityHydrationMode, UnityResourcesMode } from '../core/unity/options.js'; export declare function queryCommand(queryText: string, options?: { repo?: string; context?: string; goal?: string; limit?: string; content?: boolean; responseProfile?: 'slim' | 'full'; scopePreset?: 'unity-gameplay' | 'unity-all'; unityResources?: UnityResourcesMode; unityHydration?: UnityHydrationMode; unityEvidence?: UnityEvidenceMode; resourcePathPrefix?: string; resourceSeedMode?: 'strict' | 'balanced'; runtimeChainVerify?: 'off' | 'on-demand'; }): Promise; export declare function contextCommand(name: string, options?: { repo?: string; file?: string; uid?: string; content?: boolean; responseProfile?: 'slim' | 'full'; unityResources?: UnityResourcesMode; unityHydration?: UnityHydrationMode; unityEvidence?: UnityEvidenceMode; resourcePathPrefix?: string; resourceSeedMode?: 'strict' | 'balanced'; runtimeChainVerify?: 'off' | 'on-demand'; }): Promise; export declare function impactCommand(target: string, options?: { direction?: string; repo?: string; depth?: string; uid?: string; file?: string; minConfidence?: string; includeTests?: boolean; }): Promise; export declare function cypherCommand(query: string, options?: { repo?: string; }): Promise; export declare function unityUiTraceCommand(target: string, options?: { repo?: string; goal?: string; selectorMode?: string; }, deps?: { backend?: { callTool: (method: string, params: any) => Promise; }; output?: (data: any) => void; }): Promise;