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

/**
 * Spanish Tokenizer
 *
 * Tokenizes Spanish hyperscript input.
 * Spanish is relatively straightforward as it:
 * - Uses space-separated words like English
 * - Has similar preposition structure (SVO)
 * - Uses accent marks that need proper handling
 */

declare class SpanishTokenizer extends BaseTokenizer {
    readonly language = "es";
    readonly direction: "ltr";
    constructor();
    tokenize(input: string): TokenStream;
    classifyToken(token: string): TokenKind;
    /**
     * Try to match multi-word phrases that function as single units.
     * Multi-word phrases are included in profileKeywords and sorted longest-first,
     * so they'll be matched before their constituent words.
     */
    private tryMultiWordPhrase;
    /**
     * Extract a Spanish word.
     *
     * Uses morphological normalization to handle:
     * - Reflexive verbs (mostrarse → mostrar)
     * - Verb conjugations (alternando → alternar)
     */
    private extractSpanishWord;
    /**
     * Extract a number, including Spanish time unit suffixes.
     */
    private extractSpanishNumber;
}
/**
 * Singleton instance.
 */
declare const spanishTokenizer: SpanishTokenizer;

/**
 * Spanish Language Profile
 *
 * SVO word order, prepositions, space-separated.
 * Features rich verb conjugation with pro-drop (subject omission).
 */

declare const spanishProfile: LanguageProfile;

export { spanishProfile, spanishTokenizer };
