UNPKG

@etherna/sdk-js

Version:

Etherna SDKs for operations on the network

14 lines 1.15 kB
import { z } from "zod"; import type { Reference } from "../clients"; export declare const schemaVersion: z.ZodLiteral<`${string}.${string}`>; export declare const birthday: z.ZodEffects<z.ZodString, string, string>; export declare const slicedString: (max: number, min?: number) => z.ZodEffects<z.ZodString, string, string>; export declare const ethAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>; export declare const ensAddress: z.ZodEffects<z.ZodString, `${string}.eth`, string>; export declare const ethSafeAddress: z.ZodEffects<z.ZodString, string, string>; export declare const beeReference: z.ZodEffects<z.ZodString, Reference, string>; export declare const beeSafeReference: z.ZodEffects<z.ZodNullable<z.ZodString>, string, string | null>; export declare const nonEmptyRecord: <Keys extends z.ZodTypeAny, Values extends z.ZodTypeAny>(key: Keys, value: Values) => z.ZodEffects<z.ZodRecord<Keys, Values>>; export declare const timestamp: z.ZodUnion<[z.ZodEffects<z.ZodNumber, number, number>, z.ZodEffects<z.ZodString, number, string>]>; export type SchemaVersion = z.infer<typeof schemaVersion>; //# sourceMappingURL=base.d.ts.map