import { failureRes } from ".."; import { role } from "../login/accounts"; export declare type mailboxRes = mailboxResSuccess | failureRes; export declare type mailboxResSuccess = { code: 200; token: string; host: string; data: mailboxResData; }; export declare type mailboxResData = { classeurs: Array; messages: { received: Array; sent: Array; archived: Array; }; parametrage: { isActif: boolean; canParentsLireMessagesEnfants: boolean; destAdmin: boolean; destEleve: boolean; destFamille: boolean; destProf: boolean; destEspTravail: boolean; disabledNotification: boolean; notificationEmailEtablissement: boolean; choixMailNotification: number; autreMailNotification: string; mailPro: string; mailPerso: string; messagerieApiVersion: "v3" | string; blackListProfActive: boolean; estEnBlackList: boolean; afficherToutesLesClasses: boolean; }; pagination: { messagesRecusCount: number; messagesEnvoyesCount: number; messagesArchivesCount: number; messagesRecusNotReadCount: number; }; }; export declare type mailboxResMessage = { id: number; mtype: "received" | "sent"; read: boolean; idDossier: number; idClasseur: number; transferred: boolean; answered: boolean; to_cc_cci: "to" | "cc" | "cci"; subject: string; /** Very probably always empty */ content: string; date: string; to: Array<{ civilite: string; fonctionPersonnel: string; id: number; name: string; nom: string; particule: string; prenom: string; read: boolean; role: role; to_cc_cci: "to" | "cc" | "cci"; }>; files: Array<{ id: number; libelle: string; date: string; type: string; signatureDemandee: boolean; signature: unknown; }>; from: { name: string; nom: string; prenom: string; particule: string; civilite: string; role: role; listeRoute: boolean; id: number; read: boolean; fonctionPersonnel: string; }; }; export declare type messageResSuccess = { code: 200; token: string; host: string; data: { id: number; mtype: "send" | string; read: boolean; idDossier: number; idClasseur: number; transferred: boolean; answered: boolean; to_cc_cci: "" | "to" | "cc" | "cci"; subject: string; /** BASE64 */ content: string; date: string; to: Array<{ name: string; nom: string; prenom: string; particule: string; civilite: string; role: role; id: number; read: boolean; to_cc_cci: "to" | "cc" | "cci"; fonctionPersonnel: string; }>; files: Array<{ id: number; libelle: string; date: string; type: "PIECE_JOINTE" | string; signatureDemandee: boolean; signature: unknown; }>; from: { name: string; nom: string; prenom: string; particule: string; civilite: string; role: role; listeRouge: boolean; id: number; read: boolean; fonctionPersonnel: string; }; }; }; //# sourceMappingURL=mailbox.d.ts.map