/** * Input validation utilities using Zod schemas. */ import { z } from 'zod'; /** * Validate a build ID format. */ export declare const BuildIdSchema: z.ZodString; /** * Validate a trigger ID format. */ export declare const TriggerIdSchema: z.ZodString; /** * Validate a trigger name format (lowercase, alphanumeric with hyphens). */ export declare const TriggerNameSchema: z.ZodString; /** * Validate substitution keys (must start with _ and be uppercase). */ export declare const SubstitutionKeySchema: z.ZodString; /** * Validate a timeout duration string (e.g., "3600s"). */ export declare const TimeoutSchema: z.ZodString; /** * Validate page size for pagination. */ export declare const PageSizeSchema: z.ZodOptional; /** * Validate artifact path. */ export declare const ArtifactPathSchema: z.ZodString; /** * Validate GCS bucket name. */ export declare const BucketNameSchema: z.ZodString; /** * Schema for validating substitutions record. */ export declare const SubstitutionsSchema: z.ZodOptional>; /** * Validate a value and throw if invalid. */ export declare function validate(schema: z.ZodSchema, value: unknown): T; /** * Safely validate a value, returning the result. */ export declare function safeValidate(schema: z.ZodSchema, value: unknown): z.SafeParseReturnType; /** * Check if substitutions record has valid keys. */ export declare function validateSubstitutions(substitutions: Record | undefined): boolean; //# sourceMappingURL=validation.d.ts.map