export interface ChromancerConfig {
    chrome?: {
        port?: number;
        host?: string;
        defaultTimeout?: number;
        launchOptions?: {
            headless?: boolean;
            args?: string[];
        };
    };
    commands?: {
        screenshot?: {
            path?: string;
            fullPage?: boolean;
            type?: 'png' | 'jpeg' | 'webp';
        };
        pdf?: {
            path?: string;
            format?: string;
            landscape?: boolean;
        };
        export?: {
            path?: string;
            defaultFormat?: string;
        };
        record?: {
            outputPath?: string;
            maxDuration?: number;
        };
    };
    workflows?: {
        continueOnError?: boolean;
        variablePrefix?: string;
        variableSuffix?: string;
        defaultTimeout?: number;
    };
    ui?: {
        colorOutput?: boolean;
        verboseErrors?: boolean;
        showTips?: boolean;
        progressIndicators?: boolean;
    };
    aliases?: Record<string, string>;
}
declare class ConfigManager {
    private configPath;
    private config?;
    constructor();
    load(): Promise<ChromancerConfig>;
    save(config: ChromancerConfig): Promise<void>;
    get<T>(path: string, defaultValue?: T): Promise<T | undefined>;
    set(path: string, value: any): Promise<void>;
    private getDefaultConfig;
    reset(): Promise<void>;
    getConfigPath(): string;
}
export declare const config: ConfigManager;
export declare function applyConfigToFlags(command: string, flags: any): Promise<any>;
export {};
