import { EntranceTransitionType } from '@drincs/pixi-vn-json/actions'; /** * Splits the tail (everything after ``) of a `# show live2d` command into its free-form * construction props and an optional entrance transition. */ declare function parseShowLive2DTail(tail: string[]): { propsList: string[]; transitionType?: EntranceTransitionType; transitionPropsList: string[]; }; /** * Registers the `# show live2d` Ink hashtag command, letting Ink scripts show a {@link Live2D} * canvas element the same way `@drincs/pixi-vn-ink`'s built-in `# show image` shows an * `ImageSprite`: `` is just the canvas key (like every other `# show ...` command). * `` (the model settings URL, or an asset alias) is an optional second positional token — * when omitted, `` itself is used as the source. Key/value construction props (forwarded to * {@link Live2DOptions}) and an optional entrance transition follow. * * Registered as two handlers (one per position of the free-form props, since `keySchemas` keys * refer to a fixed token index) that together behave as a single command with an optional * ``. * * Call this once, near the start of your app (alongside e.g. `addBaseHashtagCommands`), before any * Ink content is parsed. * * @example * ```ink * # show live2d hero xAlign 0.5 yAlign 1 with dissolve duration 1 * # show live2d hero hero-alt xAlign 0.5 yAlign 1 with dissolve duration 1 * ``` */ declare function createLive2DHandler(): void; export { createLive2DHandler, parseShowLive2DTail };