import { Ref } from "../schemas"; import { RequireAtLeastOne } from "../utils/types"; import { D2ApiGeneric } from "./d2Api"; import { D2ApiResponse } from "./common"; interface Message { subject: string; text: string; users?: Ref[]; userGroups?: Ref[]; organisationUnits?: Ref[]; } export declare type PostMessage = RequireAtLeastOne; export declare class MessageConversations { d2Api: D2ApiGeneric; constructor(d2Api: D2ApiGeneric); post(message: PostMessage): D2ApiResponse; } export {};