import type { HubServeMode, HubTuiModeDeps } from "../tui/hub-tui-mode.js";
export interface RunServeOptions {
    allowHubNoModel?: boolean;
    createHeadlessMode?: (deps: HubTuiModeDeps) => HubServeMode;
}
export declare function parseHubServeArgs(args: string[]): Pick<RunServeOptions, "allowHubNoModel">;
export declare function runServe(cwd?: string, options?: RunServeOptions): Promise<number>;
//# sourceMappingURL=serve.d.ts.map