@xylabs/hex
Version:
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
10 lines • 485 B
TypeScript
import * as z from 'zod';
/** Zod schema that validates a string is a properly formatted 40-character hex address. */
export declare const AddressValidationZod: z.ZodPipe<z.ZodString, z.ZodTransform<Lowercase<string> & {
readonly __hex: true;
} & {
readonly __address: true;
}, string>>;
/** The output type of AddressValidationZod after parsing. */
export type AddressValidationZodType = z.infer<typeof AddressValidationZod>;
//# sourceMappingURL=AddressValidationZod.d.ts.map