@okcontract/sdk
Version:
One-stop-shop permissionless SDK for building any blockchain frontend
12 lines (11 loc) • 503 B
TypeScript
import { type AnyCell } from "@okcontract/cells";
import type { Environment } from "@okcontract/lambdascript";
/**
* resolve a key, potentially containing λscript expressions.
* @param env
* @param key
* @returns
* @deprecated should not be used anymore
* @todo if the expression doesn't resolve, we **don't** want to return it (v)
*/
export declare const resolveExpr: (env: Environment, v: unknown, def: AnyCell<unknown>) => Promise<import("@okcontract/lambdascript/src/eval").Value<unknown>>;