export declare function main(argv: string[], env?: NodeJS.ProcessEnv): Promise; /** * Guarded auto-run helper (P1): true when this module is the process entry. * argv[1] is resolved through symlinks (realpathSync) BEFORE comparing because * Node resolves the entry module's real path into import.meta.url while * argv[1] keeps the SYMLINKED invocation path (e.g. the bin reached via * zob-harness/packages/pi-subagents). The raw pathToFileURL comparison never * matched in that case, leaving the bin silent (exit 0, no output, even for * --version). The raw comparison is kept as a fallback (--preserve-symlinks * and unresolvable paths). Exported for unit tests. */ export declare function isCliEntry(argv1: string | undefined, moduleUrl: string): boolean;