/** What `grafeo init` found (or didn't) in an existing project. */ export interface DetectionResult { /** `.graphql`/`.gql` files that carry grafeo directives (relative to cwd). */ schemaCandidates: string[]; /** A previously generated types file, identified by the header marker. */ generatedTypes?: string; /** An existing grafeo.config.{ts,js,json}, if present. */ existingConfig?: string; /** True if a NEO4J_* env var or a .env mentioning one is present. */ hasNeo4jEnv: boolean; } /** * Scan `cwd` for an existing grafeo setup so `init` can wire itself up. Pure * filesystem reads — shallow, with generated/VCS dirs skipped — so it stays * fast and never walks `node_modules`. */ export declare function detectProject(cwd: string, env: NodeJS.ProcessEnv): DetectionResult; //# sourceMappingURL=detect.d.ts.map