import { Logger } from '../utils/logger';
import { RecompilationScheduler } from '../utils/scheduler';
import { LernaGraph, LernaNode } from '../lerna';
export interface IBuildCmd {
    S?: string;
    bootstrap: boolean;
    onlySelf: boolean;
}
export declare const beforeBuild: (cmd: IBuildCmd, scheduler: RecompilationScheduler, logger: Logger, acceptPackages?: boolean) => Promise<{
    projectRoot: string;
    graph: LernaGraph;
    service: LernaNode;
}>;
export declare const typeCheck: (scheduler: RecompilationScheduler, target: LernaGraph | LernaNode, onlySelf: boolean, force: boolean) => Promise<void>;
export declare const build: (cmd: IBuildCmd, scheduler: RecompilationScheduler, logger: Logger) => Promise<void>;
