import { Decorator } from '../support_decorators/decorator.js'; import type { ConstructableSchema } from '@vinejs/vine/types'; /** * Validate decorator for properties * * Stores a schema factory function that will be called when building * the validation schema from decorators. */ export default class Validate extends Decorator { propertyName: string; schemaFactory: () => ConstructableSchema; onUpdate: boolean; constructor(propertyName: string, schemaFactory: () => ConstructableSchema, onUpdate?: boolean); mount(): Promise; }