import { ChainMetadataSchema, } from '@hyperlane-xyz/sdk';
import { z } from 'zod';
export const ChainAddressesSchema = z.record(z.string());
/**
 * Schema for warp route filter parameters.
 * This serves as the single source of truth for both TypeScript types and validation.
 */
export const WarpRouteFilterSchema = z
    .object({
    symbol: z.string().optional(),
    label: z.string().optional(),
})
    .strict();
export const UpdateChainSchema = z.object({
    metadata: ChainMetadataSchema.optional(),
    addresses: ChainAddressesSchema.optional(),
});
