frontispiece / packages / ink-processor / src / index.ts
index.ts
Raw
/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/.
 */

export { InkProcessorEngine } from "./engine"
export { InkParserConfigParams } from "./config"

// helpers to export
export { Plugin } from "./engine/plugin"
export { Command, CommandReturn, CommandHandler } from "./data/command"

export type { InkStory, InkChoice } from "./inkTypes"
export type {
	VisualInkState,
	VisualInkSection,
	VisualInkLine,
	VisualInkChoice,
	VisualInkCommand,
	VisualInkAllLineTypes,
	VisualInkLineOrChoice,
	VisualInkLineOrCommand,
} from "./types"

export * from "./utils/ink-utils"