import { RecorderEvent, RecordingConfig } from '../core/context.js';
/**
 * Generates modular framework files (v2) from a recording session.
 */
export declare class Generator {
    static generate(name: string, events: RecorderEvent[], config: RecordingConfig & {
        url?: string;
        saveAsFlow?: boolean;
        namespace?: string;
        organizationId?: string;
        onlyCache?: boolean;
    }): Promise<any>;
    private static mapEventToStep;
    /**
     * Compactor: Merges interaction clusters (Click -> Type) and repetitive inputs.
     */
    private static compactEvents;
    private static saveFile;
}
