/** * Validates that the value is an instance of the platform native File class. * This is the primary type validator for native file fields. * * @example * vine.string().use(isNativeFileRule()) */ export declare const isNativeFileRule: (options?: undefined) => import("../../types.ts").Validation; /** * Validates that the file size is at least the specified minimum size in bytes. * * @example * vine.file().use(minSizeRule({ min: 1024 })) // At least 1KB * * @example * vine.file().minSize(1024) // Shorthand method */ export declare const minSizeRule: (options: { min: number; }) => import("../../types.ts").Validation<{ min: number; }>; /** * Validates that the file size does not exceed the specified maximum size in bytes. * * @example * vine.file().use(maxSizeRule({ max: 2097152 })) // Max 2MB * * @example * vine.file().maxSize(2097152) // Shorthand method */ export declare const maxSizeRule: (options: { max: number; }) => import("../../types.ts").Validation<{ max: number; }>; /** * Validates that the file's MIME type is one of the allowed types. * * @example * vine.file().use(mimeTypesRule({ * mimeTypes: ['image/jpeg', 'image/png'] * })) * * @example * vine.file().mimeTypes(['image/jpeg', 'image/png']) // Shorthand method */ export declare const mimeTypesRule: (options: { mimeTypes: string[]; }) => import("../../types.ts").Validation<{ mimeTypes: string[]; }>;