import { Logger } from '@teambit/logger';
import { ReactEnv } from '@teambit/react';
import { Application, DeployFn, AppBuildContext, AppContext, ApplicationInstance } from '@teambit/application';
import { NodeEnv } from './node.env';
import { DeployContext } from './node-app-options';
export declare class NodeApp implements Application {
    readonly name: string;
    readonly entry: string;
    readonly portRange: number[];
    readonly nodeEnv: NodeEnv & ReactEnv;
    readonly logger: Logger;
    readonly deploy?: DeployFn | undefined;
    constructor(name: string, entry: string, portRange: number[], nodeEnv: NodeEnv & ReactEnv, logger: Logger, deploy?: DeployFn | undefined);
    applicationType: string;
    run(context: AppContext): Promise<ApplicationInstance>;
    build(context: AppBuildContext): Promise<DeployContext>;
}
