UNPKG

@rshirohara/repixe-rekurke

Version:

repixe plugin that turns pixiv novel format into kakuyomu novel format to support rekurke.

11 lines 1.14 kB
import type { KkastContent, FlowContent as KkastFlowContent, PhrasingContent as KkastPhrasingContent, Root as KkastRoot, Ruby as KkastRuby, Text as KkastText } from "@rshirohara/kkast"; import type { PxastContent, FlowContent as PxastFlowContent, InlinePhrasingContent as PxastInlinePhrasingContent, PhrasingContent as PxastPhrasingContent, Root as PxastRoot } from "@rshirohara/pxast"; import type { Options } from "./options.js"; export declare function convertRoot(tree: PxastRoot, options: Options): KkastRoot; export declare function convertRootChildren(node: PxastContent, options: Options): (KkastContent | undefined)[]; export declare function convertFlowContent(node: PxastFlowContent, options: Options): (KkastFlowContent | undefined)[]; export declare function convertPhrasingContent(node: PxastPhrasingContent, options: Options): (KkastPhrasingContent | undefined)[]; type KkastInlinePhrasingContent = KkastRuby | KkastText; export declare function convertInlinePhrasingContent(node: PxastInlinePhrasingContent, options: Options): (KkastInlinePhrasingContent | undefined)[]; export {}; //# sourceMappingURL=converter.d.ts.map