import { Context } from '../core/Context';
export declare type IDevServerProxy = {
    [key: string]: {
        target?: string;
        changeOrigin?: boolean;
        pathRewrite?: {
            [key: string]: string;
        };
    };
};
export interface IHMRServerProps {
    enabled?: boolean;
    useCurrentURL?: boolean;
    port?: number;
    connectionURL?: string;
}
export interface IHTTPServerProps {
    enabled?: boolean;
    port?: number;
    fallback?: string;
    root?: string;
    express?: (app: any, express: any) => void;
}
export interface IOpenProps {
    background?: boolean;
    wait?: boolean;
    target?: string;
    app?: string | Array<string>;
}
export interface IProxyCollection {
    path: string;
    options: any;
}
export interface IDevServerProps {
    enabled?: boolean;
    open?: boolean | IOpenProps;
    proxy?: Array<IProxyCollection>;
    httpServer?: IHTTPServerProps | boolean;
    hmrServer?: IHMRServerProps | boolean;
}
export declare function createDevServerConfig(ctx: Context): IDevServerProps;
