@hyperlane-xyz/sdk
Version:
The official SDK for the Hyperlane Network
4 lines • 300 B
TypeScript
import { SafeParseReturnType, z } from 'zod';
export declare function isCompliant<S extends z.ZodTypeAny>(schema: S): (config: unknown) => config is z.infer<S>;
export declare function validateZodResult<I, O>(result: SafeParseReturnType<I, O>, desc?: string): O;
//# sourceMappingURL=schemas.d.ts.map