import type { AutoQueryConfig } from "./config"; export declare class ConfigLoadError extends Error { readonly configPath?: string | undefined; readonly cause?: unknown | undefined; constructor(message: string, configPath?: string | undefined, cause?: unknown | undefined); } export interface CustomAnalyzerModule { analyzeFile: (filePath: string, config: ResolvedAutoQueryConfig) => Promise | unknown; } export interface CustomTemplateModule { generateOptionsCode: (params: { functionInfos: unknown[]; importPath: string; keySegments: string[]; fileName: string; templateImportPath: string; config: ResolvedAutoQueryConfig; }) => Promise | string; } export interface ResolvedAutoQueryConfig extends AutoQueryConfig { configPath?: string; configDir: string; resolvedSourceDir: string; resolvedOutputDir: string; resolvedTemplateDir?: string; resolvedCustomAnalyzerPath?: string; resolvedCustomTemplatePath?: string; } export declare function resolveConfigPath(cwd?: string): string | undefined; export declare function loadConfig(): Promise; //# sourceMappingURL=config-loader.d.ts.map