UNPKG

@drincs/pixi-vn-ink

Version:

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

18 lines (15 loc) 971 B
import { PixiVNJsonLabels } from '@drincs/pixi-vn-json'; import { ShareDataParserLabel } from '../parser/label-parser.cjs'; import InkRootType from '../types/InkRootType.cjs'; import { R as RootParserItemType } from '../RootParserItemType-DV41SbdA.cjs'; import '../types/parserItems/Divert.cjs'; import '../types/parserItems/VariableAssignment.cjs'; import '../types/parserItems/ContainerType.cjs'; import '../types/parserItems/TextType.cjs'; import '../types/parserItems/ControlCommands.cjs'; import '../types/parserItems/NativeFunctions.cjs'; import '../types/parserItems/ReadCount.cjs'; import '../types/parserItems/VariableReference.cjs'; declare function getInkLabels(story: (InkRootType | RootParserItemType | RootParserItemType[])[]): PixiVNJsonLabels | undefined; declare function addLabels(storyItem: InkRootType | RootParserItemType, result: PixiVNJsonLabels, dadLabelKey?: string, shareData?: ShareDataParserLabel): void; export { addLabels, getInkLabels };