import type { MudletMap } from '../mapIO'; import type { Command } from './types'; export interface SaveSessionArgs { fileName: string; map: MudletMap; undoStack: Command[]; currentAreaId: number | null; currentZ: number; existingId?: string; } export declare function saveSessionAsync(args: SaveSessionArgs): Promise;