export { functionReviver }; import type { FunctionContract, ClientReviverContext, ReviverType } from '../../types.js'; /** * Reconstructs a server function returned from a telefunction as a callable proxy. * Each call is forwarded as an ack message over a persistent `ClientChannel`. * The channel closes via `close(fn)` or automatically once the proxy is GC'd. * * Shield errors travel as a normal ack payload with the `FN_SHIELD_ERROR_KEY` marker — * the function layer owns its own error semantics; the channel stays a plain transport. */ declare const functionReviver: ReviverType;