import { Casts, Model } from "@mongez/monpulse"; import { UploadOutput } from "../output/upload-output"; export declare class Upload extends Model { /** * Collection name */ static collection: string; /** * {@inheritDoc} */ static output: typeof UploadOutput; /** * {@inheritDoc} */ protected casts: Casts; /** * {@inheritDoc} */ embedded: string[]; /** * Get file full path */ get path(): string; /** * Determine if file is an image */ get isImage(): any; /** * Determine if file is a video */ get isVideo(): any; /** * Determine if file is a PDF */ get isPDF(): boolean; /** * Get the hash value */ get hash(): string; } export declare const UploadBlueprint: any; export declare function uploadsMigration(): Promise; export declare namespace uploadsMigration { var down: () => Promise; var blueprint: any; } //# sourceMappingURL=upload.d.ts.map