import { ConstraintValue } from './handle-runtime.js'; /** Minimal structural view of an East runtime type object. */ export interface TypeNode { type: string; cases?: Record; fields?: Record; key?: TypeNode; value?: TypeNode; } /** * Normalize a registered binding type to {@link TypeNode}. Platform type * arguments arrive as decoded `EastTypeValue` variants * (`{type:'Struct', value:[{name,type}…]}`); runtime `EastType` objects use * the flattened shape (`{type:'Struct', fields:{…}}`). Accept both. */ export declare function normalizeTypeValue(tv: unknown): TypeNode; /** Editable shapes: bare primitive, struct of primitives, or an op variant * whose case payloads are primitives / structs of primitives. */ export declare function leverPayloadEditable(node: TypeNode | undefined): boolean; export interface LeverEditorProps { /** The contract case name this lever injects. */ leverCase: string; /** The case's payload type, walked off the judgements binding type. */ payload: TypeNode; onInject: (constraint: ConstraintValue) => void; } export declare function LeverEditor({ leverCase, payload, onInject }: LeverEditorProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=lever-editor.d.ts.map