/** Session ID validation: must start with a letter, then alphanumeric/hyphens/underscores, 1-64 chars */ export declare const SESSION_ID_PATTERN: RegExp; export interface SessionIdentity { sessionId: string; runtimeSessionId: string; source: 'env' | 'derived'; } interface ResolveSessionIdentityOptions { envValue?: string; cwd?: string; homeDir?: string; pid?: number; } /** * Resolve the stable Dollhouse session identity and the live runtime session * identifier for the current process. When a host provides * `DOLLHOUSE_SESSION_ID`, that explicit identity is used everywhere. When it * does not, we derive a restart-stable workspace identity and add a PID suffix * for the live runtime identity so concurrent unnamed sessions do not collide * in the console registry. */ export declare function resolveSessionIdentity(options?: ResolveSessionIdentityOptions): SessionIdentity; export {}; //# sourceMappingURL=sessionIdentity.d.ts.map