1 | import AbstractTableDictCore, { IDICT } from './core';
|
2 | /**
|
3 | * 原版 node-segment 的格式
|
4 | */
|
5 | export declare abstract class TableDictLine extends AbstractTableDictCore<boolean> {
|
6 | exists(data: any, ...argv: any[]): boolean;
|
7 | add(word: string | string[]): this;
|
8 | _add(word: string): void;
|
9 | remove(word: string): this;
|
10 | _remove(word: string): void;
|
11 | json(): IDICT<boolean>;
|
12 | stringify(LF?: string): string;
|
13 | }
|
14 | export default TableDictLine;
|