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

/**
 * English Tokenizer
 *
 * Tokenizes English hyperscript input.
 * English uses space-separated words with prepositions.
 */

declare class EnglishTokenizer extends BaseTokenizer {
    readonly language = "en";
    readonly direction: "ltr";
    constructor();
    tokenize(input: string): TokenStream;
    classifyToken(token: string): TokenKind;
    /**
     * Extract a word (identifier or keyword) from the input.
     * Handles namespaced event names like "draggable:start".
     */
    private extractWord;
    /**
     * Try to convert an identifier followed by "class" to a class selector.
     * E.g., "active class" → ".active"
     *
     * This enables natural English syntax like:
     * - "toggle the active class" → "toggle .active"
     * - "add the visible class" → "add .visible"
     */
    private tryConvertToClassSelector;
}
/**
 * Singleton instance.
 */
declare const englishTokenizer: EnglishTokenizer;

/**
 * English Language Profile
 *
 * SVO word order, prepositions, space-separated.
 */

declare const englishProfile: LanguageProfile;

export { englishProfile, englishTokenizer };
