import { Choice } from '../types'; import { InkStory } from './InkStory'; export type InteractionResolver = (choices: Choice[]) => number | null; export declare class InteractionManager { private _rules; private _story; static presets: { readonly left: (choices: Choice[]) => number | null; readonly right: (choices: Choice[]) => number | null; readonly first: (choices: Choice[]) => number | null; readonly second: (choices: Choice[]) => number | null; }; constructor(story: InkStory); get story(): InkStory; register(name: string, resolver: InteractionResolver): void; unregister(name: string): void; trigger(name: string): boolean; getRegistered(): string[]; has(name: string): boolean; clear(): void; }