import { Logger } from '../utils/logger';
import { RecompilationScheduler } from '../utils/scheduler';
import { IBuildCmd } from './build';
import { LernaGraph, LernaNode, Service } from '../lerna';
export interface IPackageCmd extends IBuildCmd {
    C: number;
    level: number;
    recompile: boolean;
}
export declare const beforePackage: (cmd: IPackageCmd, scheduler: RecompilationScheduler, logger: Logger) => Promise<{
    projectRoot: string;
    concurrency: number;
    graph: LernaGraph;
    service: LernaNode;
}>;
export declare const packageService: (scheduler: RecompilationScheduler, concurrency: number, target: Service | LernaGraph) => Promise<void>;
export declare const packagr: (cmd: IPackageCmd, logger: Logger, scheduler: RecompilationScheduler) => Promise<void>;
