import * as mongoose from "mongoose"; export declare class Attachment extends mongoose.Document { name?: string; path?: string; field?: string; entity?: string; entity_id?: string; system_entity?: boolean; ext?: string; mime?: string; meta?: any[]; size?: mongoose.Schema.Types.Decimal128; provider?: string; image_url?: string; small_url?: string; thumbnail_url?: string; file_url?: string; file_size?: number; hash?: string; type?: string; _type?: string; allow_type: string[]; is_deleted?: boolean; is_public: boolean; } export declare const AttachmentSchema: mongoose.Schema & Attachment & Required<{ _id: mongoose.Types.ObjectId; }> & { __v: number; }, any>, {}, {}, {}, {}, mongoose.DefaultSchemaOptions, Attachment, mongoose.Document, {}, mongoose.DefaultSchemaOptions> & mongoose.FlatRecord & Required<{ _id: mongoose.Types.ObjectId; }> & { __v: number; }>;