import { Address } from "viem"; import { z } from "zod/v4"; //#region src/permissionless/api/schemas.d.ts /** * Runtime schemas shared by the {@link GearboxPermissionless} namespaces. * * Addresses are validated but never rewritten: the backend serves them in the * case its database holds, and its payloads key records by address, so * checksumming here would silently break a lookup by the key it answered with. * A caller that needs one form converts with viem's `getAddress`. **/ /** An address, in whatever case the backend serves it. */ export declare const addressSchema: z.ZodCustom<`0x${string}`, `0x${string}`>; /** * A record keyed by address. Spelled out here because zod types a record key * by the schema's output, which the branded `Address` is not inferred as. **/ export declare function addressRecord(value: V): z.ZodType>>; //#endregion