import { Subject } from "rxjs"; import { MessageID } from "./message.model"; export declare class TodoCategory { id: string; private _name; get name(): string; set name(value: string); private _color; get color(): string; set color(value: string); constructor(_id: any, _name: any, _color?: string); } export declare class TodoElem { private _id; get id(): string; set id(value: string); private _content; get content(): T; set content(value: T); private _categoryId; get categoryId(): string; set categoryId(value: string); private _position; get position(): number; set position(value: number); private _displayText; get displayText(): string; set displayText(value: string); rxSubject: Subject; private constructor(); static createFromData(id: string, content: TodoPersonalContent | ITodoMsgContent, categoryId: string, position: number): TodoElem; updateData(content: T, categoryId: string, position: number): void; } interface TodoContent { done: boolean; personalNote: boolean; text?: string; creationDate?: number; } export declare class TodoFileInfo { fileDescriptorId: string; fileName: string; fileMimeType: string; fileUrl: string; fileSize: number; voiceMessageDuration?: number; } export interface ITodoMsgContent extends TodoContent { conversationJid: string; peerId: string; peerJid: string; messageId: MessageID; messageTimestamp: number; text?: string; creationDate?: number; fileInfo?: TodoFileInfo; } export declare class TodoPersonalContent implements TodoContent { done: boolean; personalNote: boolean; title: string; text?: string; creationDate?: number; private constructor(); static createFromData(done: boolean, title: string, text?: string, creationDate?: number): TodoPersonalContent; } export declare class TodoMsgContent implements ITodoMsgContent { done: boolean; personalNote: boolean; peerId: string; peerJid: string; conversationJid: string; messageId: MessageID; messageTimestamp: number; text?: string; fileInfo?: TodoFileInfo; private constructor(); static createFromData(done: boolean, peerId: string, peerJid: string, conversationJid: string, messageId: MessageID, messageTimestamp: number, text?: string, fileInfo?: TodoFileInfo): TodoMsgContent; } export declare class TodoRoomMsgContent implements ITodoMsgContent { done: boolean; personalNote: boolean; peerId: string; peerJid: string; roomId: string; conversationJid: string; messageId: MessageID; messageTimestamp: number; text?: string; fileInfo?: TodoFileInfo; private constructor(); static createFromData(done: boolean, peerId: string, peerJid: string, roomId: string, conversationJid: string, messageId: MessageID, messageTimestamp: number, text?: string, fileInfo?: TodoFileInfo): TodoRoomMsgContent; } export {}; //# sourceMappingURL=todo.model.d.ts.map