import { type HostRuntime } from "../../src/platform/compat/process/host-runtime.js"; import { type DiscoveryOptions, startDevServer, startProductionServer, type StartProductionServerOptions } from "../../src/server/index.js"; import type { RuntimeAdapter } from "../../src/platform/index.js"; export interface StartCliProxyModeServerOptions { port: number; projectDir: string; signal: AbortSignal; requestInterceptor: (req: Request) => Request | Promise; defaultProjectId: string; linkedProjectSlug?: string; } export declare function prepareCliProxyModeEnvironment(host?: HostRuntime): void; export declare function buildProxyRuntimeProjectIdentity(options: Pick): Pick; export declare function buildDiscoveryConfig(options: StartCliProxyModeServerOptions, host?: HostRuntime): DiscoveryOptions; export declare function startCliProxyModeServer(options: StartCliProxyModeServerOptions): Promise>>; export interface StartCliDevServerOptions { port: number; projectDir: string; signal: AbortSignal; enableHMR?: boolean; enableFastRefresh?: boolean; } export declare function startCliDevServer(options: StartCliDevServerOptions): Promise>>; export interface StartCliProductionServerOptions { projectDir: string; port: number; bindAddress: string; debug?: boolean; signal: AbortSignal; defaultProjectSlug: string; defaultProjectId: string; adapter?: RuntimeAdapter; } export declare function startCliProductionServer(options: StartCliProductionServerOptions): Promise>>; //# sourceMappingURL=server-startup.d.ts.map