import * as z from 'zod'; export declare const JunoType: { /** Validates a Principal. */ principal: () => z.ZodPipe, z.ZodTransform>; /** Validates a Uint8Array (blob, vec). */ uint8Array: () => z.ZodCustom, Uint8Array>; /** Validates an arbitrary precision natural number. */ nat: () => z.ZodBigInt; }; /** * Juno's type system - an extended Zod instance for Serverless Functions. * * The schema builder exposes all Zod schemas and functions aside from * `union()` which can't be reliably serialized currently without a discriminator field. * That's why you should prefer using `discriminatedUnion()` instead. * * It extends Zod with various schemas useful for writing your custom functions * such as `j.principal()` and `j.uint8Array()`. * * @example * import { j } from '@junobuild/schema'; * * const MySchema = j.strictObject({ * id: j.principal(), * name: j.string(), * }); */ export declare const j: Omit & typeof JunoType; export declare namespace j { type infer = z.infer; }