/** * Copyright 2025 Chris Bunting * * Input Validation Schemas - Enterprise-grade validation using Zod */ import { z } from 'zod'; /** * Validation schema for scan_repository tool */ export declare const ScanRepositorySchema: z.ZodObject<{ owner: z.ZodString; repo: z.ZodString; branch: z.ZodDefault>; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { owner: string; repo: string; branch: string; path?: string | undefined; }, { owner: string; repo: string; path?: string | undefined; branch?: string | undefined; }>; /** * Validation schema for scan_code tool */ export declare const ScanCodeSchema: z.ZodObject<{ code: z.ZodString; filePath: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: string; filePath?: string | undefined; }, { code: string; filePath?: string | undefined; }>; /** * Validation schema for analyze_security tool */ export declare const AnalyzeSecuritySchema: z.ZodObject<{ owner: z.ZodString; repo: z.ZodString; branch: z.ZodDefault>; }, "strip", z.ZodTypeAny, { owner: string; repo: string; branch: string; }, { owner: string; repo: string; branch?: string | undefined; }>; /** * Validation schema for validate_secret tool */ export declare const ValidateSecretSchema: z.ZodObject<{ secretType: z.ZodString; value: z.ZodString; }, "strip", z.ZodTypeAny, { value: string; secretType: string; }, { value: string; secretType: string; }>; /** * Sanitize string input to prevent injection attacks */ export declare function sanitizeInput(input: string): string; /** * Validate and sanitize repository owner/name */ export declare function sanitizeRepositoryName(name: string): string; //# sourceMappingURL=validation.d.ts.map