import { TurnResult } from '../interfaces/turn-result'; export interface InkCompileResult { sourcePath: string; outputPath: string; warningCount: number; } export declare function compileInkSource(sourcePath: string, outputPath: string): InkCompileResult; export declare class InkEngine { private readonly storyPath; private story; private nextTurnId; private storyJson; private readonly choicePreviewTagKeys; constructor(storyPath: string); isRunning(): boolean; newGame(): TurnResult; chooseChoice(choiceIndex: number): TurnResult; saveGame(): string; resumeGame(savedState: string): void; loadGame(savedState: string): TurnResult; private restoreState; private loadStory; private continueStory; private getChoiceTags; private extractChoicePreviewTags; private resolveInkPath; private findNamedInkChild; private getInkContainerMap; private isNamedContainerMap; }