@xylabs/hex
Version:
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
10 lines • 620 B
TypeScript
import * as z from 'zod';
/** Zod schema that accepts a string, bigint, or number and transforms it into a validated Address. */
export declare const AddressTransformZod: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBigInt, z.ZodNumber]>, z.ZodTransform<string, string | number | bigint>>, z.ZodTransform<Lowercase<string> & {
readonly __hex: true;
} & {
readonly __address: true;
}, string>>;
/** The output type of AddressTransformZod after parsing and transformation. */
export type AddressTransformZodType = z.infer<typeof AddressTransformZod>;
//# sourceMappingURL=AddressTransformZod.d.ts.map