import { IArenaConfig, IFlow } from '../types';
export default class Flows {
    _flows: Record<string, Record<string, IFlow>>;
    _config: IArenaConfig;
    useCdn: {
        value: boolean;
        useCdn: boolean;
    };
    constructor(config: IArenaConfig);
    list(): import("../types").FlowConfigType[] | undefined;
    hasFlows(): boolean;
    setConfig(config: IArenaConfig): void;
    private _checkConstructors;
    get(connectionName: string, queueHost: string): Promise<any>;
    /**
     * Creates and adds jobs with the given data using the provided flow.
     *
     * @param {IFlow} flow A Bullmq flow class
     * @param {Object} data The data to be used within the flow
     */
    set(flow: IFlow, data: any): Promise<any>;
}
