export interface ValidationError { field: string; message: string; } /** * Validates prompt name * @param name - The prompt name * @returns Validation error if invalid, null otherwise */ export declare function validateName(name: string): ValidationError | null; /** * Validates prompt description * @param description - The prompt description * @returns Validation error if invalid, null otherwise */ export declare function validateDescription(description: string): ValidationError | null; /** * Validates prompt content size * @param content - The prompt content * @returns Validation error if invalid, null otherwise */ export declare function validateContentSize(content: string): ValidationError | null; /** * Validates tag format and limits * @param tags - Array of tags * @returns Validation error if invalid, null otherwise */ export declare function validateTags(tags: string[]): ValidationError | null; /** * Validates file extension * @param filePath - The file path * @returns Validation error if invalid, null otherwise */ export declare function validateFileExtension(filePath: string): ValidationError | null; /** * Validates all prompt data * @param data - The prompt data to validate * @returns Array of validation errors */ export declare function validatePromptData(data: { name?: string; description?: string; content?: string; tags?: string[]; }): ValidationError[]; //# sourceMappingURL=validation.d.ts.map