import type { Args } from "./cli/args.ts";
import { type SessionCwdIssue } from "./core/session-cwd.ts";
import { SessionManager } from "./core/session-manager.ts";
import type { SettingsManager } from "./core/settings-manager.ts";
export declare function validateForkFlags(parsed: Args): void;
export declare function validateSessionIdFlags(parsed: Args): void;
export declare function createSessionManager(parsed: Args, cwd: string, sessionDir: string | undefined, settingsManager: SettingsManager): Promise<SessionManager>;
export declare function promptForMissingSessionCwd(issue: SessionCwdIssue, settingsManager: SettingsManager): Promise<string | undefined>;
//# sourceMappingURL=main-session.d.ts.map