interface V1LongWord { minLength?: number; lang?: string; } interface V1Squeeze { squeezeClass?: string; marks?: string[]; langWhitelist?: string[]; } export interface V1Options { styleInlines?: string[]; blockTags?: string[]; skipTags?: string[]; pillSelector?: string; autospaceClass?: string; skipAttribute?: string; isSkipped?: (node: Node) => boolean; longWordWrap?: boolean | V1LongWord; punctuationSqueeze?: boolean | V1Squeeze; } export interface V1Instance { apply(root?: Element): void; revert(root?: Element): void; } /** * v1 相容工廠。回傳 { apply, revert };apply→render、revert→revert。 */ export declare function createCjkAutospace(options?: V1Options): V1Instance; export {};