import { Express } from 'express'; import { AppProvider } from './appProvider'; export declare type Proxy = { address: string; baseUrl?: string; }; export declare type ServerOptions = { provider: () => typeof AppProvider; assets: string[]; publicDir: [string, string]; bundleDir: [string, string]; webpackOptions: any; rootPath: string; srcPath: string; distPath: string; storagePrefix: string; mode?: string; envKeys?: string[]; match?: string; version?: number; enableGzip?: boolean; encrypt?: boolean; delayedPersist?: boolean; proxies?: { [key: string]: Proxy; }; allowRedirect?: boolean; apiPrefix?: string; }; export declare class Server { options: ServerOptions; constructor(options: ServerOptions); isolate: (name: string) => void; start(app: Express): void; private isDev; }