@drincs/pixi-vn-ink
Version:
Pixi'VN gives you the ability to write your own narrative using Ink
19 lines (16 loc) • 1.84 kB
TypeScript
import { PixiVNJsonConditionalStatements, PixiVNJsonConditionalResultToCombine, PixiVNJsonStepSwitchElementType } from '@drincs/pixi-vn-json';
import InkRootType from '../types/InkRootType.js';
import Cond from '../types/parserItems/Cond.js';
import { StandardDivert } from '../types/parserItems/Divert.js';
import NativeFunctions from '../types/parserItems/NativeFunctions.js';
import ReadCount from '../types/parserItems/ReadCount.js';
import { R as RootParserItemType } from '../RootParserItemType-BeypaLqW.js';
import { MyVariableAssignment } from '../types/parserItems/VariableAssignment.js';
import { ShareDataParserLabel } from './label-parser.js';
import '../types/parserItems/ContainerType.js';
import '../types/parserItems/TextType.js';
import '../types/parserItems/ControlCommands.js';
import '../types/parserItems/VariableReference.js';
declare function parserConditionalStatements<T>(then: T | PixiVNJsonConditionalStatements<T> | PixiVNJsonConditionalResultToCombine<T>, data: (ReadCount | NativeFunctions)[], paramNames: string[], labelKey: string, elseThen?: T | PixiVNJsonConditionalStatements<T> | PixiVNJsonConditionalResultToCombine<T>): undefined | PixiVNJsonConditionalStatements<T>;
declare function getConditionalValue<T>(preData: (ReadCount | (StandardDivert | Cond)[])[], addSwitchElemen: (list: PixiVNJsonStepSwitchElementType<T>[], item: T | string | StandardDivert | PixiVNJsonStepSwitchElementType<T> | MyVariableAssignment, labelKey: string, paramNames: string[]) => void, addLabels: (storyItem: InkRootType | RootParserItemType, dadLabelKey: string, shareData: ShareDataParserLabel) => void, labelKey: string, shareData: ShareDataParserLabel, paramNames: string[], nestedId?: string | undefined): PixiVNJsonConditionalStatements<T> | undefined;
export { getConditionalValue, parserConditionalStatements };