import type { CommandModule } from 'yargs'; import { loadConfigFromEnv } from '../../api/container'; interface StartArgs { mode?: string; config?: string; env?: string; port?: number; host: string; foreground?: boolean; seedConfig?: string; } export declare const startCommand: CommandModule; /** * Where remote-forwarded traffic lands on this machine. * * Order: explicit `XPOD_GATEWAY_INGRESS_PORT` → the active SakuraFrp tunnel's assigned local * port → an OS-assigned loopback port. The first two are strict, because a tunnel that * forwards to a specific port cannot follow us somewhere else. */ export declare function resolveIngressPort(config: { tunnelProfiles?: Array<{ id: string; provider: string; credentialEnvKey?: string; credentialConfigured?: boolean; }>; tunnelActiveProfileId?: string; }, mainPort: number): Promise; export declare function resolveCliOidcIssuer(env: Record, provisionedIssuer?: string, edition?: string): string | undefined; export declare function resolveManagedEdgeAgentConfig(config: Pick, 'cloudApiEndpoint' | 'nodeId' | 'nodeToken'>, gatewayPort: number, ingressPort?: number, runtimeEnv?: Record): { signalEndpoint: string; nodeId: string; nodeToken: string; targetBaseUrl: string; lanBaseUrl: string; p2pEnabled: boolean; } | undefined; export declare function resolveChildDatabaseUrl(value: string, childCwd: string): string; export declare function resolveCanonicalRuntimeBaseUrl(provisionedPublicUrl: string | undefined, configuredBaseUrl: string | undefined, localFallbackUrl: string): string; export declare function resolveMainPort(cliPort: number | undefined, env: NodeJS.ProcessEnv, configuredBaseUrl?: string): number; export declare function resolveServicePort(configured: string | undefined, fallback: number, reserved: ReadonlySet): number; export {};