/** The default daemon port when neither `--port` nor `CREW_PORT` is given. */ export declare const DEFAULT_DAEMON_PORT = 7701; /** The env variable `serve` — and therefore every client verb — honours for the daemon port. */ export declare const DAEMON_PORT_ENV = "CREW_PORT"; /** Where the daemon port came from and the raw spelling — for messages that name the input. */ export interface DaemonPortSource { /** The raw value as given (`--port` argument or the env variable), or `undefined` for the default. */ raw: string | undefined; from: '--port' | typeof DAEMON_PORT_ENV | 'default'; } /** * The one read of `--port` / `CREW_PORT` (review-L10-604 MED: a display-only * `process.env[DAEMON_PORT_ENV]` in the `mcp` error text was a second read of the same variable — * every consumer, including error text, goes through here). */ export declare function daemonPortSource(args: string[], env?: NodeJS.ProcessEnv): DaemonPortSource; /** `--port ` › `CREW_PORT` › 7701 — the one place the daemon port is decided. */ export declare function resolveDaemonPort(args: string[], env?: NodeJS.ProcessEnv): number; //# sourceMappingURL=port.d.ts.map