import { type ConfigManager } from './config-manager.js';
import { type K8Factory } from '../integration/kube/k8-factory.js';
import { type SoloLogger } from './logging/solo-logger.js';
import { type AnyObject, ArgvStruct } from '../types/aliases.js';
import { type HelpRenderer } from './help-renderer.js';
import { LocalConfigRuntimeState } from '../business/runtime-state/config/local/local-config-runtime-state.js';
import { type RemoteConfigRuntimeStateApi } from '../business/runtime-state/api/remote-config-runtime-state-api.js';
import { type TaskList } from './task-list/task-list.js';
import { ListrContext, ListrRendererValue } from 'listr2';
export declare class Middlewares {
    private readonly configManager;
    private readonly remoteConfig;
    private readonly k8Factory;
    private readonly logger;
    private readonly localConfig;
    private readonly helpRenderer;
    private readonly taskList;
    constructor(configManager: ConfigManager, remoteConfig: RemoteConfigRuntimeStateApi, k8Factory: K8Factory, logger: SoloLogger, localConfig: LocalConfigRuntimeState, helpRenderer: HelpRenderer, taskList: TaskList<ListrContext, ListrRendererValue, ListrRendererValue>);
    printCustomHelp(rootCmd: any): (argv: any) => void;
    setLoggerDevFlag(): (argv: ArgvStruct) => AnyObject;
    /**
     * Processes the Argv and display the command header
     *
     * @returns callback function to be executed from listr
     */
    protected processArgumentsAndDisplayHeader(): (argv: ArgvStruct, yargs: any) => AnyObject;
}
