import type { RsbuildInstance } from '../types/index.js';
import type { CommonOptions } from './commands.js';
export type CommandName = 'dev' | 'build' | 'preview' | 'inspect';
export declare const initCliAction: (command: CommandName, options: CommonOptions) => void;
export declare function init({ isRestart }?: {
    isRestart?: boolean;
}): Promise<RsbuildInstance | undefined>;
