import { ProjectConfig, ComponentTypes, Component } from '../../../types/Projects.js'; import { ExitFunction } from '../../../types/Yargs.js'; type DevServerInterface = { setup?: Function; start?: (options: object) => Promise; fileChange?: (filePath: string, event: string) => Promise; cleanup?: () => Promise; }; type ComponentsByType = { [key in ComponentTypes]?: { [key: string]: Component; }; }; declare class DevServerManager_DEPRECATED { private initialized; private started; private componentsByType; private devServers; constructor(); iterateDevServers(callback: (serverInterface: DevServerInterface, compatibleComponents: { [key: string]: Component; }) => Promise): Promise; arrangeComponentsByType(components: Component[]): ComponentsByType; setup({ components, onUploadRequired, accountId, setActiveApp, exit, port, }: { components: Component[]; onUploadRequired: () => void; accountId: number; setActiveApp: (appUid: string | undefined) => Promise; exit: ExitFunction; port?: number; }): Promise; start({ accountId, projectConfig, }: { accountId: number; projectConfig: ProjectConfig; }): Promise; fileChange({ filePath, event, }: { filePath: string; event: string; }): Promise; cleanup(): Promise; } declare const Manager: DevServerManager_DEPRECATED; export default Manager;