/** * @param {string} s * @param {ParseContext} ctx * @returns {UplcTerm} */ export function parseProgram(s: string, ctx: ParseContext): UplcTerm; /** * @param {string} src * @param {string} [name] * @returns {[string, TokenReader]} */ export function parseProgramVersion(src: string, name?: string | undefined): [string, TokenReader]; /** * @param {TokenReader} r * @param {ParseContext} ctx * @returns {UplcTerm | undefined} */ export function parseTerm(r: TokenReader, ctx: ParseContext): UplcTerm | undefined; export type ParseContext = { uplcVersion: string; builtins: Builtin[]; varNames?: string[]; allowUnresolvedNames?: boolean; programName?: string; }; export type ValueParser = (r: TokenReader) => (UplcValue | undefined); import type { UplcTerm } from "../index.js"; import type { TokenReader } from "@helios-lang/compiler-utils"; import type { Builtin } from "../index.js"; import type { UplcValue } from "../index.js"; //# sourceMappingURL=parse.d.ts.map