/** * Resolve a DataBridge config file path (tries .ts first, then .js). * * @param projectRoot - Absolute path to the user project root * @param basename - Config filename without extension (e.g., 'databridge.queries') * @returns Absolute path to the resolved config file * @throws If neither .ts nor .js variant exists */ export declare function resolveConfigPath(projectRoot: string, basename: string): string; /** * Dynamically load a TypeScript or JavaScript config file. * * Uses `tsx/esm/api` for .ts files and standard dynamic import for .js. * Handles nested default exports (produced by `defineQueries`/`defineSchemas` wrappers). * * @param configPath - Absolute path to the config file * @returns The parsed config object, cast to `T` */ export declare function loadTsConfig(configPath: string): Promise; //# sourceMappingURL=config-loader.d.ts.map