import { BaseEntity, EntityManager } from 'typeorm';
import { Licensee } from '../licensee/licensee.entity';
import { Message } from '../message/message.entity';
export declare class Attachment extends BaseEntity {
    id: number;
    name: string;
    type: string;
    size: number;
    url: string;
    isLocal: boolean;
    message: Promise<Message>;
    licensee: Promise<Licensee>;
    createdOn: Date;
    static createFromPartial(partial: Partial<Attachment>): Attachment;
    isImage(): boolean;
    assignToMessage(message: Message, manager: EntityManager): Promise<void>;
}
