/** * Validates spawn tool prompts and context file requirements. * Ported from mcp-supersubagents/src/utils/brief-validator.ts */ export interface ContextFile { path: string; description?: string; } export interface BriefValidationError { code: string; message: string; detail?: string; } export interface ValidationResult { valid: boolean; errors: BriefValidationError[]; } interface RoleValidationRules { roleName: string; minPromptLength: number; requireContextFiles: boolean; minContextFiles: number; requireMdExtension: boolean; maxFileSizeBytes: number; maxTotalSizeBytes: number; briefTemplate: string; workflowHint: string; } export declare const VALIDATION_RULES: Record; export declare function validateBrief(role: string, prompt: string, contextFiles?: ContextFile[]): Promise; export declare function formatBriefValidationError(role: string, errors: BriefValidationError[]): string; export declare function assemblePromptWithContext(prompt: string, contextFiles?: ContextFile[]): Promise; export {}; //# sourceMappingURL=brief-validator.d.ts.map