import { MatrixActor } from '../../core/MatrixActor';
import type { SExpr } from '../SExpr';
import type { IAtomizedMessage } from './IAtomizedMessage';
import type { ILispSecurityContext } from '../../core/security/LispSecurityContext';
import { getVLMNamespace } from './VLMRouter';
/**
 * VLMBootstrapNode - Minimal evaluator that reports to join coordinator
 *
 * Features:
 * - McCarthy's 7 primitives (quote, atom, eq, car, cdr, cons, cond)
 * - Essential additions (null?, pair?, list, number?, boolean?, etc.)
 * - Matrix bridge primitives (call, emit, introspect, spawn, destroy)
 * - Higher-order functions (map, filter, reduce)
 * - Arithmetic and comparison operators
 *
 * Mount: {namespace}.vlm-node-{id}
 */
export declare class VLMBootstrapNode extends MatrixActor {
    private _nodeId;
    private _heartbeatInterval?;
    protected _ns: ReturnType<typeof getVLMNamespace>;
    private _dynamicRegistry;
    /** Tracks eval start time for timeout enforcement */
    private _evalStartTime;
    static accepts: {
        eval: {
            expr: string;
        };
        evalAtomized: {
            expr: string;
            eval: string;
            continuation: string;
            join: string;
            trace: string;
        };
    };
    static emits: {
        evaluated: {
            nodeId: string;
            expr: string;
            result: string;
            durationMs: string;
        };
        evalError: {
            nodeId: string;
            expr: string;
            error: string;
        };
    };
    protected onBootstrap(): Promise<void>;
    onDispose(): void;
    onEval(params: {
        expr: SExpr | string;
        securityContext?: ILispSecurityContext;
    }): Promise<unknown>;
    onEvalAtomized(params: IAtomizedMessage): Promise<unknown>;
    private _bootstrapEvalAsync;
    private _applyFnAsync;
    private _isSerializable;
    private _serializableEnv;
    /**
     * Normalize introspect result to ComponentSchema format for serialization
     */
    private _normalizeToComponentSchema;
}
//# sourceMappingURL=VLMBootstrapNode.d.ts.map