import { ScenarioModel } from '../model/scenario-model.js'; /** * Get the Valkyrie editor directory for MoM scenarios. * * Platform paths (mirrors Game.DefaultAppData() + "/MoM/Editor" in Valkyrie C#): * macOS/Linux: ~/.config/Valkyrie/MoM/Editor * Windows: %APPDATA%/Valkyrie/MoM/Editor */ export declare function getEditorDir(): string; export interface ScenarioSummary { name: string; dir: string; questName: string; } /** List all scenarios in the Valkyrie editor directory */ export declare function listScenarios(editorDir?: string): ScenarioSummary[]; export interface ScenarioState { totalComponents: number; componentCounts: Record; localizationKeys: number; } /** Creates new scenario directory with quest.ini + empty data files */ export declare function createScenario(name: string, options?: { dir?: string; }): Promise<{ model: ScenarioModel; dir: string; }>; /** Loads existing scenario from directory */ export declare function loadScenario(dir: string): Promise; /** Returns current scenario state summary */ export declare function getScenarioState(model: ScenarioModel): ScenarioState; /** Saves model to disk */ export declare function saveScenario(model: ScenarioModel): Promise; /** * The expansions a scenario needs, from everything it puts on the table: * tile sides, spawned monsters (a custom monster counts through its base), * catalog monsters shown as tokens, and quest items given by name. Content behind * a test for its own expansion ("the Thrall if Beyond the Threshold is owned") is optional. */ export declare function computeRequiredPacks(model: ScenarioModel): Set; /** Builds .valkyrie package */ export declare function buildScenario(model: ScenarioModel, outputPath: string): Promise; /** [Quest] settings an author may change; format, type and packs are managed automatically on save */ export interface QuestConfigUpdate { difficulty?: number; lengthmin?: number; lengthmax?: number; minhero?: number; maxhero?: number; image?: string; hidden?: boolean; defaultmusicon?: boolean; } /** Apply quest settings after checking them against Valkyrie's ranges. Nothing is applied if any value is invalid. */ export declare function setQuestConfig(model: ScenarioModel, update: QuestConfigUpdate): { success: boolean; errors: string[]; }; //# sourceMappingURL=lifecycle.d.ts.map