import { Schema } from 'yup'; /** * Validator for an uploaded file (yup-specific). * * @deprecated Since 5.0.0-beta.51 — `YupFile` will be removed in v6. Validate * files with the framework's vendor-neutral `File` type and your validator's * `instanceof` idiom instead (no yup required): * * import { File } from '@adaptivestone/framework/types.js'; * // zod: z.instanceof(File) * // valibot: v.instance(File) * // yup: mixed().test('file', 'not a file', (v) => v instanceof File) * * @example * request: yup.object().shape({ * someFile: new YupFile().required(), * }) */ declare class YupFile extends Schema { constructor(); } export { YupFile };