import { z } from 'zod'; import type { NetworkConfig } from './types'; export declare const networkConfigSchema: z.ZodObject<{ version: z.ZodNumber; medium: z.ZodString; campaign: z.ZodString; defaultLocale: z.ZodEnum<{ es: "es"; en: "en"; }>; capPerDay: z.ZodNumber; sites: z.ZodArray>; weight: z.ZodNumber; placements: z.ZodArray; }, z.core.$strip>>; creatives: z.ZodArray; }, z.core.$strip>>; creatives: z.ZodArray; headline: z.ZodString; blurb: z.ZodString; cta: z.ZodString; accent: z.ZodString; accentForeground: z.ZodOptional; icon: z.ZodOptional; url: z.ZodOptional; image: z.ZodOptional; video: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type NetworkConfigInput = z.input; /** * Structural and referential validation for the network config. Returns one * message per problem, naming the offending site/creative and field, so a bad * config fails the build instead of shipping. */ export declare function validateNetworkConfig(input: unknown): string[]; export declare function parseNetworkConfig(input: unknown): NetworkConfig; //# sourceMappingURL=validate.d.ts.map