/* tslint:disable */ /* eslint-disable */ export function cut(text: string, hmm?: boolean | null): string[]; export function cut_all(text: string): string[]; export function cut_for_search(text: string, hmm?: boolean | null): string[]; export function tokenize(text: string, mode: string, hmm?: boolean | null): Token[]; export function add_word(word: string, freq?: number | null, tag?: string | null): number; export function tag(sentence: string, hmm?: boolean | null): Tag[]; export function with_dict(dict: string): void; /** Represents a single token with its word and position. */ export interface Token { word: string; start: number; end: number; } /** Represents a single word and its part-of-speech tag. */ export interface Tag { word: string; tag: string; }