import { type Options as LoadOptions } from 'cosmiconfig';
import type { CliBuildOptions, ConfigData } from './types/index.js';
import type { ArgumentsCamelCase } from 'yargs';
export declare class Config {
    readonly loadOptions: Partial<LoadOptions>;
    constructor(loadOptions?: Partial<LoadOptions>);
    /** Loads gjsify config file, e.g `.gjsifyrc.js` */
    private load;
    /** Loads package.json of the current project */
    private readPackageJSON;
    /** Loads tsconfig.json of the current project */
    private readTSConfig;
    forBuild(cliArgs: ArgumentsCamelCase<CliBuildOptions>): Promise<ConfigData>;
}
