import * as m3o from '@m3o/m3o-node'; export declare class CommentsService { private client; constructor(token: string); create(request: CreateRequest): Promise; delete(request: DeleteRequest): Promise; events(request: EventsRequest): Promise>; list(request: ListRequest): Promise; read(request: ReadRequest): Promise; update(request: UpdateRequest): Promise; } export interface Comment { created?: string; id?: string; subject?: string; text?: string; updated?: string; } export interface CreateRequest { subject?: string; text?: string; } export interface CreateResponse { comment?: { [key: string]: any; }; } export interface DeleteRequest { id?: string; } export interface DeleteResponse { comment?: { [key: string]: any; }; } export interface EventsRequest { id?: string; } export interface EventsResponse { comment?: { [key: string]: any; }; event?: string; } export interface ListRequest { } export interface ListResponse { comments?: Comment[]; } export interface ReadRequest { id?: string; } export interface ReadResponse { comment?: { [key: string]: any; }; } export interface UpdateRequest { comment?: { [key: string]: any; }; } export interface UpdateResponse { comment?: { [key: string]: any; }; }