import type { GrafeoConfig, ResolvedConnection } from './types'; export interface LoadedConfig { config: GrafeoConfig; /** Absolute path of the file that was loaded, if any. */ filePath?: string; } /** * Discover and load grafeo.config.{ts,js,json} from `cwd`. TS/JS configs * load through jiti (the CLI's single runtime dependency) so users get * `grafeo.config.ts` without pre-compiling — the same DX as Prisma/Drizzle. * Returns an empty config when no file exists; commands fall back to flags * and defaults. */ export declare function loadConfigFile(cwd: string): Promise; /** * Resolve the SDL schema path. Precedence: flag > config > ./schema.graphql * (zero-config default, only when the file actually exists). A flag/config * path that doesn't exist is an error naming the resolved path; nothing at * all is an error showing a minimal config example (cli-config spec). */ export declare function resolveSchemaPath(flags: { schema?: string; }, config: GrafeoConfig, cwd: string): string; /** Resolve the codegen output path. Precedence: flag > config > default. */ export declare function resolveOutPath(flags: { out?: string; }, config: GrafeoConfig, cwd: string): string; /** * Resolve the Neo4j connection per the cli-config spec. Precedence per * setting: flag > config `database` block > NEO4J_* env var. The password * has NO flag path by design. */ export declare function resolveConnection(flags: { uri?: string; username?: string; database?: string; }, config: GrafeoConfig, env: NodeJS.ProcessEnv): ResolvedConnection; //# sourceMappingURL=config.d.ts.map