import { DataType } from './data-type'; import { MediaType } from './media-type'; /** * Represents an "attachment" to an object. */ export declare class MediaAttachment { static compareAscending(a: MediaAttachment, b: MediaAttachment): number; static compareDecending(a: MediaAttachment, b: MediaAttachment): number; get isSynched(): boolean; markAsSynched(): void; get isDeleted(): boolean; markAsDeleted(deleted?: boolean): void; isHidden: boolean; setIsHidden(_isHidden: boolean): void; isFavorite: boolean; setIsFavorite(_isFavorite: boolean): void; isDirty: boolean; createdTime: number; updatedTime: number; synchedTime: number; deletedTime: number; name: (string | null); setName(_name: string): void; private _label; get label(): string; set label(_label: string); mediaType: MediaType; setMediaType(_mediaType: MediaType): void; contentType: (string | null); setContentType(_contentType: string): void; dataType: DataType; setDataType(_dataType: DataType): void; contentData: any; setContentData(_contentData: any): void; get isStub(): boolean; get isRemote(): boolean; get digest(): string; set digest(_digest: string); get data(): any; set data(_data: any); get url(): string; set url(_url: string); id: string; userId: string; constructor(id?: (string | null), userId?: (string | null)); protected resetCreatedTime(millis?: number): void; protected resetUpdatedTime(millis?: number): void; toString(): string; clone(): MediaAttachment; static clone(obj: any): MediaAttachment; copy(): MediaAttachment; }