export interface CompilerOptions {
    output?: string;
    target?: 'es5' | 'es2015' | 'es2020' | 'esnext';
    sourceMap?: boolean;
    minify?: boolean;
    noTypeCheck?: boolean;
    strict?: boolean;
    outDir?: string;
    watch?: boolean;
    compileOnSave?: boolean;
}
export interface SomonConfig {
    compilerOptions?: CompilerOptions;
    moduleSystem?: ModuleSystemConfig;
    bundle?: BundleConfig;
}
export interface ConfigValidationError {
    path: string;
    message: string;
}
export interface ModuleSystemConfig {
    resolution?: {
        baseUrl?: string;
        paths?: Record<string, string[]>;
        extensions?: string[];
        moduleDirectories?: string[];
        allowJs?: boolean;
        resolveJsonModule?: boolean;
    };
    loading?: {
        encoding?: string;
        cache?: boolean;
        circularDependencyStrategy?: 'error' | 'warn' | 'ignore';
    };
    compilation?: CompilerOptions;
}
export interface BundleConfig {
    format?: 'commonjs' | 'esm' | 'umd';
    minify?: boolean;
    sourceMaps?: boolean;
    externals?: string[];
    force?: boolean;
    output?: string;
}
export declare function loadConfig(startPath: string): SomonConfig;
//# sourceMappingURL=config.d.ts.map