/** Prefer Nest entrypoints: src/main.ts, main.ts, then other *main*.ts */ export declare function findMainCandidates(cwd: string): string[]; /** * Ask: use detected main, or type another path / n to skip. */ export declare function resolveMainPath(cwd: string, candidates: string[]): Promise; export declare function injectApiDocs(filePath: string, dryRun?: boolean): string; /** Remove `apiDocs(...)` calls and `@t0.labs/daxta` imports from a Nest entry file. */ export declare function removeApiDocs(filePath: string, dryRun?: boolean): string; export type InjectMainOptions = { cwd?: string; dryRun?: boolean; /** Skip prompt; use first candidate or this relative/absolute path */ mainPath?: string; yes?: boolean; }; /** Resolve which file to inject into (prompt / --main / --yes). Null = skip. */ export declare function resolveMainTarget(options?: InjectMainOptions): Promise;