/** * Deserializes a stringified function expression into a typed callable. * * Throws if the string cannot be parsed as a function (SyntaxError) or if the * resulting expression is not callable (TypeError), or if the expression references * an undefined variable (ReferenceError). Callers are responsible for try/catch. * * @example * ```ts * const fn = deserializeFunction<(x: number) => number>('(x) => x * 2') * fn(5) // 10 * ``` * @public */ export declare function deserializeFunction any>(source: string): T; //# sourceMappingURL=deserialize.d.ts.map