import type { IPlugin } from "../types"; export type ValidationResult = { valid: true; plugin: IPlugin; } | { valid: false; error: string; }; /** * Validates if an unknown object is a valid plugin. * Handles: * 1. Class instances (Standard) * 2. Plain objects * 3. Class Constructors (instantiates them) // TODO if we want to move that logic here */ export declare function validatePlugin(candidate: unknown): ValidationResult; //# sourceMappingURL=pluginValidator.d.ts.map