import type { ReturnParseCliArgs } from '../../../utils/parse-cli-args.js'; import type { EcoPagesAppConfig } from '../../../types/internal-types.js'; export type RuntimeBinding = { preferredPort: number; preferredHostname: string; runtimeOrigin: string; serveOptions: Record; watch: boolean; /** Whether preview may bind to the next free port when the preferred port is busy. */ allowPortFallback: boolean; }; export type StaticRuntimeMode = { canBuildWithoutRuntimeServer: boolean; }; export declare function resolveServeRuntimeOrigin(serveOptions: { hostname?: string; port?: number | string; }): string; export declare function resolveRuntimeBinding(options: { cliArgs: ReturnParseCliArgs; serverOptions?: Record; env?: NodeJS.ProcessEnv; }): RuntimeBinding; export declare function resolveStaticRuntimeMode(options: { appConfig: EcoPagesAppConfig; cliArgs: ReturnParseCliArgs; }): StaticRuntimeMode;