/**
 * Types for Repository Selection System
 */
import { z } from 'zod';
/**
 * Zod schemas
 */
export const RepositorySelectionRuleSchema = z.object({
    type: z.enum(['all', 'prefix', 'owner', 'keyword', 'combined', 'manual']),
    pattern: z.string().optional(),
    owner: z.string().optional(),
    excludePatterns: z.array(z.string()).optional()
});
export const RepositoryMetadataSchema = z.object({
    name: z.string(),
    url: z.string().url(),
    owner: z.string(),
    description: z.string(),
    language: z.string(),
    stars: z.number(),
    lastUpdated: z.date(),
    private: z.boolean().optional(),
    defaultBranch: z.string().optional()
});
//# sourceMappingURL=types.js.map