UNPKG

436 BTypeScriptView Raw
1import { InlineBlot } from 'parchment';
2import type { BlotConstructor } from 'parchment';
3declare class Inline extends InlineBlot {
4 static allowedChildren: BlotConstructor[];
5 static order: string[];
6 static compare(self: string, other: string): number;
7 formatAt(index: number, length: number, name: string, value: unknown): void;
8 optimize(context: {
9 [key: string]: any;
10 }): void;
11}
12export default Inline;