import { type Contact } from "../api/v3/contacts"; import { type BlockedContact } from "../api/v3/contacts/blocked"; import { type ContactRequest } from "../api/v3/contacts/requests/in"; import type FilenSDK from ".."; /** * Contacts * @date 2/1/2024 - 2:44:47 AM * * @export * @class Contacts * @typedef {Contacts} */ export declare class Contacts { private readonly sdk; constructor(sdk: FilenSDK); /** * Fetch all contacts. * @date 2/20/2024 - 6:28:41 AM * * @public * @async * @returns {Promise} */ all(): Promise; /** * Fetch all incoming contact requests. * @date 2/20/2024 - 6:29:43 AM * * @public * @async * @returns {Promise} */ incomingRequests(): Promise; /** * Fetch count of all incoming contact requests. * @date 2/20/2024 - 6:30:11 AM * * @public * @async * @returns {Promise} */ incomingRequestsCount(): Promise; /** * Fetch all outgoing contact requests. * @date 2/20/2024 - 6:29:43 AM * * @public * @async * @returns {Promise} */ outgoingRequests(): Promise; /** * Delete an outgoing contact request. * @date 2/20/2024 - 6:36:39 AM * * @public * @async * @param {{uuid: string}} param0 * @param {string} param0.uuid * @returns {Promise} */ deleteOutgoingRequest({ uuid }: { uuid: string; }): Promise; /** * Send a contact request. * @date 2/20/2024 - 6:36:33 AM * * @public * @async * @param {{email: string}} param0 * @param {string} param0.email * @returns {Promise} */ sendRequest({ email }: { email: string; }): Promise; /** * Accept incoming contact request. * @date 2/20/2024 - 6:36:26 AM * * @public * @async * @param {{uuid: string}} param0 * @param {string} param0.uuid * @returns {Promise} */ acceptRequest({ uuid }: { uuid: string; }): Promise; /** * Deny incoming contact request. * @date 2/20/2024 - 6:36:17 AM * * @public * @async * @param {{uuid: string}} param0 * @param {string} param0.uuid * @returns {Promise} */ denyRequest({ uuid }: { uuid: string; }): Promise; /** * Remove a contact. * @date 2/20/2024 - 6:34:24 AM * * @public * @async * @param {{uuid: string}} param0 * @param {string} param0.uuid * @returns {Promise} */ remove({ uuid }: { uuid: string; }): Promise; /** * Fetch all blocked contacts. * @date 2/20/2024 - 6:34:55 AM * * @public * @async * @returns {Promise} */ blocked(): Promise; /** * Block a user. * @date 2/20/2024 - 6:36:11 AM * * @public * @async * @param {{email: string}} param0 * @param {string} param0.email * @returns {Promise} */ block({ email }: { email: string; }): Promise; /** * Unblock a contact. * @date 2/20/2024 - 6:36:05 AM * * @public * @async * @param {{uuid: string}} param0 * @param {string} param0.uuid * @returns {Promise} */ unblock({ uuid }: { uuid: string; }): Promise; } export default Contacts;