import { MatrixActor } from '../../core/MatrixActor';
import type { SExpr } from '../SExpr';
/**
 * SchemeEval - Evaluates S-expression syntax
 *
 * This component provides the human-readable S-expression interface:
 *   (define (fact n) (if (< n 2) 1 (* n (fact (- n 1)))))
 *   (fact 5)
 *   → 120
 *
 * It parses the Scheme syntax to JSON wire format and delegates to LispEval.
 *
 * Mount: {namespace}.scheme
 *
 * @example
 * await callComponent('flowpad.scheme', 'eval', {
 *   source: '(+ 1 2 (* 3 4))'
 * })
 * // → 15
 */
export declare class SchemeEval extends MatrixActor {
    static accepts: {
        eval: {
            source: string;
        };
        parse: {
            source: string;
        };
        format: {
            expr: string;
            pretty: string;
        };
        examples: {};
    };
    static emits: {
        evaluated: {
            source: string;
            parsed: string;
            result: string;
            durationMs: string;
        };
        parsed: {
            source: string;
            result: string;
        };
        parseError: {
            source: string;
            error: string;
        };
    };
    protected onBootstrap(): Promise<void>;
    /**
     * Evaluate Scheme source code
     */
    onEval(params: {
        source: string;
    }): Promise<unknown>;
    /**
     * Parse Scheme source without evaluating
     */
    onParse(params: {
        source: string;
    }): Promise<SExpr>;
    /**
     * Format JSON wire format as S-expression string
     */
    onFormat(params: {
        expr: SExpr;
        pretty?: boolean;
    }): Promise<string>;
    /**
     * Get available example programs
     */
    onExamples(): Promise<Record<string, string>>;
    private _deriveLispSiblingMount;
}
//# sourceMappingURL=SchemeEval.d.ts.map