import { Crewx } from '@crewx/sdk'; /** * Build a Crewx instance with CLI-standard plugins (FileLogger + SqliteTracing) * and built-in tools registered. Use this from any CLI command that needs a * Crewx instance — keeps environment consistent across query / execute / slack / agent. * * workspaceRoot is always process.cwd()-based so that per-workspace logs land * in {cwd}/.crewx/logs/. Critical for file:// remote agent delegation. * * Behavior: * - If configPath resolves to an existing file → load it (with built-ins merged) * - If configPath is NOT set via CREWX_CONFIG env AND the file doesn't exist → * fall back to built-in-only mode (no user yaml required) * - If CREWX_CONFIG is explicitly set AND the file doesn't exist → throw */ export declare function createCliCrewx(configPath?: string): Promise;