import { B as BaseTokenizer, T as TokenStream, a as TokenKind, L as LanguageProfile } from '../types-BY3Id07j.js';

/**
 * Vietnamese Tokenizer
 *
 * Tokenizes Vietnamese hyperscript input.
 * Vietnamese is an isolating (analytic) language with:
 * - SVO word order (like English)
 * - Latin script with extensive diacritics (tone marks)
 * - No verb conjugation or noun declension
 * - Space-separated syllables (can be multi-syllable words)
 * - Prepositions for grammatical roles
 *
 * Vietnamese diacritics:
 * - Tone marks: à á ả ã ạ (and similar for other vowels)
 * - Vowel modifications: ă â ê ô ơ ư đ
 *
 * Examples:
 *   chuyển đổi .active  → toggle .active
 *   thêm .highlight     → add .highlight
 *   hiển thị #modal     → show #modal
 */

declare class VietnameseTokenizer extends BaseTokenizer {
    readonly language = "vi";
    readonly direction: "ltr";
    constructor();
    tokenize(input: string): TokenStream;
    classifyToken(token: string): TokenKind;
    /**
     * Try to match a multi-word phrase.
     * Multi-word phrases are included in profileKeywords and sorted longest-first.
     */
    private tryMultiWordPhrase;
    /**
     * Extract a Vietnamese word (single syllable/word).
     */
    private extractVietnameseWord;
    /**
     * Extract a number, including time unit suffixes.
     */
    private extractVietnameseNumber;
}
/**
 * Singleton instance.
 */
declare const vietnameseTokenizer: VietnameseTokenizer;

/**
 * Vietnamese Language Profile
 *
 * SVO word order, prepositions, space-separated.
 * Vietnamese is an isolating (analytic) language with no inflection.
 * Uses Latin script with extensive diacritics for tone marking.
 */

declare const vietnameseProfile: LanguageProfile;

export { vietnameseProfile, vietnameseTokenizer };
