import type * as core_TransactionEnvelope from '../../core/TxEnvelope.js' import type * as z from 'zod/mini' import { expectTypeOf, test } from 'vp/test' import * as z_TransactionEnvelope from '../TransactionEnvelope.js' test('TransactionEnvelope schemas preserve decoded and encoded types', () => { expectTypeOf< z.output >().toMatchTypeOf() expectTypeOf().toMatchTypeOf< z.input >() expectTypeOf< z.output >().toMatchTypeOf() expectTypeOf< z.output >().toMatchTypeOf() expectTypeOf().toMatchTypeOf< z.input >() expectTypeOf>().toMatchTypeOf< core_TransactionEnvelope.TxEnvelope >() expectTypeOf>().toMatchTypeOf< z.input >() expectTypeOf().toMatchTypeOf< z.input >() expectTypeOf< z.output >().toMatchTypeOf>() })