import { tokenize } from '../parser/hybrid/tokenizer';
import type { ASTNode } from '../parser/hybrid/ast-types';
import { addCommandAliases, addEventAliases } from '../parser/hybrid/aliases';
export interface Context {
    me: Element;
    event?: Event;
    it?: any;
    you?: Element;
    locals: Map<string, any>;
    globals: Map<string, any>;
}
declare function evaluate(node: ASTNode, ctx: Context): Promise<any>;
declare function processElements(root?: Element | Document): void;
declare const api: {
    version: string;
    parse(code: string): ASTNode;
    execute(code: string, element?: Element): Promise<any>;
    init: typeof processElements;
    process: typeof processElements;
    addAliases: typeof addCommandAliases;
    addEventAliases: typeof addEventAliases;
    tokenize: typeof tokenize;
    evaluate: typeof evaluate;
    commands: string[];
    blocks: string[];
};
export default api;
//# sourceMappingURL=browser-bundle-hybrid-complete.d.ts.map