import type { IComponentSchema } from './IComponentSchema';
import type { IParseResult } from './IParseResult';
import type { SExpr } from '../lisp/SExpr';
/**
 * Parse S-expression string to component schema
 *
 * @example
 * fromSExpr('(component "Button" (accepts "click") (emits "clicked"))')
 * // Returns: { success: true, value: { name: 'Button', accepts: { click: {} }, emits: { clicked: {} } } }
 */
export declare function fromSExpr(source: string): IParseResult<IComponentSchema>;
/**
 * Convert parsed S-expression to component schema
 */
export declare function fromSExprValue(expr: SExpr): IParseResult<IComponentSchema>;
/**
 * Parse S-expression value to JavaScript value
 */
export declare function sexprToValue(expr: SExpr): unknown;
//# sourceMappingURL=fromSExpr.d.ts.map