UNPKG

@drincs/pixi-vn-ink

Version:

Pixi'VN gives you the ability to write your own narrative using Ink

20 lines (17 loc) 1.29 kB
import { PixiVNJsonConditionalStatements } from '@drincs/pixi-vn-json'; import { ShareDataParserLabel } from '../parser/label-parser.js'; import { ConditionalList } from '../parser/switch-parser.js'; import LabelChoiceRes from '../types/LabelChoiceRes.js'; import { R as RootParserItemType, C as ChoicePoint, a as ChoiceInfo } from '../RootParserItemType-BeypaLqW.js'; import NativeFunctions from '../types/parserItems/NativeFunctions.js'; import ReadCount from '../types/parserItems/ReadCount.js'; import TextType from '../types/parserItems/TextType.js'; import '../types/InkRootType.js'; import '../types/parserItems/Divert.js'; import '../types/parserItems/VariableAssignment.js'; import '../types/parserItems/ContainerType.js'; import '../types/parserItems/ControlCommands.js'; import '../types/parserItems/VariableReference.js'; declare function addChoiseIntoList<T>(choiseList: RootParserItemType[], itemList: (T | PixiVNJsonConditionalStatements<T>)[], labelKey: string, shareData: ShareDataParserLabel, paramNames: string[]): void; declare function getLabelChoice(items: (TextType | ReadCount | NativeFunctions | ChoicePoint | ChoiceInfo | ConditionalList)[], result: LabelChoiceRes, paramNames: string[], lastLabel?: string): void; export { addChoiseIntoList, getLabelChoice };