#!/usr/bin/env node declare function readPackageVersion(): string; declare function printBanner(): void; declare function isNpxInvocation(): boolean; declare function commandPrefix(): string; interface HttpClient { get(path: string): Promise; post?(path: string, body: unknown): Promise; } interface InitOptions { scanPath: string; outPath: string; project: string; projectExplicit: boolean; apply: boolean; dryRun: boolean; noInstall: boolean; sourceEdit?: boolean; verbose: boolean; } interface InitResult { exitCode: number; writtenFiles: string[]; } declare function usage(): void; interface ParsedArgs { project: string | null; profile: string | null; apply: boolean; dryRun: boolean; noInstall: boolean; noInstrument: boolean; sourceEdit: boolean; open: boolean; noOpen: boolean; yes: boolean; verbose: boolean; printConfig: boolean; json: boolean; depth: number | null; limit: number | null; edgeType: string | null; node: string | null; since: string | null; against: string | null; errorId: string | null; hypotheticalAction: string | null; type: string | null; minConfidence: number | null; to: string | null; token: string | null; positional: string[]; } declare function parseArgs(rest: string[]): ParsedArgs; declare function runInit(opts: InitOptions): Promise; declare const CLAUDE_SKILL_CONFIG: { mcpServers: { neat: { type: "stdio"; command: string; args: string[]; }; }; }; declare function resolvedMcpEnv(cwd?: string): Promise>; declare function writeClaudeMcpEntry(cwd?: string): Promise<{ target: string; env: Record; }>; declare function describeMcpEnv(env: Record): string; interface SkillOptions { apply: boolean; printConfig: boolean; } declare function runSkill(opts: SkillOptions): Promise<{ exitCode: number; }>; declare function main(): Promise; declare const QUERY_VERBS: Set; declare class ProjectResolutionError extends Error { readonly exitCode: number; constructor(message: string, exitCode?: number); } declare function isLoopbackEndpoint(endpoint: string): boolean; declare function resolveProjectForVerb(client: HttpClient, parsed: ParsedArgs, cwdProject?: string): Promise; type ClientTargetSource = 'profile' | 'env' | 'active' | 'daemon-record' | 'sole-daemon' | 'default'; interface ClientTarget { endpoint: string; authToken?: string; source: ClientTargetSource; } declare class UnknownProfileError extends Error { constructor(name: string); } declare function resolveClientTarget(opts?: { project?: string; profile?: string; }): Promise; declare function loopbackResolutionHint(): Promise; declare function projectForCwd(cwd?: string): Promise; declare function cwdProjectApplies(source: ClientTargetSource): boolean; declare function resolveDaemonUrl(project?: string, profile?: string): Promise; declare function runQueryVerb(cmd: string, parsed: ParsedArgs): Promise; declare function runMonitorVerb(parsed: ParsedArgs): Promise; declare function reportFatal(err: unknown, log?: (line: unknown) => void): number; export { CLAUDE_SKILL_CONFIG, type ClientTarget, type ClientTargetSource, type InitOptions, type InitResult, ProjectResolutionError, QUERY_VERBS, type SkillOptions, UnknownProfileError, commandPrefix, cwdProjectApplies, describeMcpEnv, isLoopbackEndpoint, isNpxInvocation, loopbackResolutionHint, main, parseArgs, printBanner, projectForCwd, readPackageVersion, reportFatal, resolveClientTarget, resolveDaemonUrl, resolveProjectForVerb, resolvedMcpEnv, runInit, runMonitorVerb, runQueryVerb, runSkill, usage, writeClaudeMcpEntry };