import type { ASTNode, ExecutionContext } from '../types/core';
import type { CompileResult } from './hyperscript-api';
type CompileFunction = (code: string, options?: any) => CompileResult;
type CompileAsyncFunction = (code: string, options?: any) => Promise<CompileResult>;
type GetRuntimeFunction = () => any;
export declare function initializeDOMProcessor(compileSync: CompileFunction, compileAsync: CompileAsyncFunction, getRuntime: GetRuntimeFunction): void;
export declare function detectLanguage(element: Element): string;
export declare function extractEventInfo(ast: ASTNode): {
    eventType: string;
    body: ASTNode;
} | null;
export declare function setupEventHandler(element: Element, ast: ASTNode, context: ExecutionContext): void;
export declare function createHyperscriptContext(element?: HTMLElement | null): ExecutionContext;
export declare function processHyperscriptAttribute(element: Element, hyperscriptCode: string): void;
export declare function process(element: Element): void;
export {};
//# sourceMappingURL=dom-processor.d.ts.map