export interface SessionCommandScopeArgs { sessionId?: string; runId?: string; stateDir?: string; json: boolean; } export declare function emitSessionCommandError(json: boolean, error: Record, lines: string | string[]): number; export declare function resolveSessionStateDir(stateDir?: string): string; export declare function requireSessionScope(args: SessionCommandScopeArgs, options?: { requireRunId?: boolean; }): { sessionId: string; runId?: string; stateDir: string; } | number; //# sourceMappingURL=common.d.ts.map