import { ActionField, AllOrFieldOrListOf, CommentRecord, FilterDate, Format, NestedMemberCreatorParams, NestedMemberParams, NestedReactionsParams, TypedFetch } from "../typeDefs"; import { BaseResource } from "./BaseResource"; /** * Comments are Action records with a "type" of "commentCard". They are the * only type of action that can be added, updated, and deleted. They're also * only available on a `Card` resource. * @see https://developers.trello.com/reference#actionsid * @class */ export declare class Comment extends BaseResource { getComment(params?: { display?: boolean; entities?: boolean; fields?: AllOrFieldOrListOf; } & NestedMemberParams & NestedMemberCreatorParams & NestedReactionsParams): TypedFetch; getComments(params?: { display?: boolean; entities?: boolean; fields?: AllOrFieldOrListOf; format?: Format; before?: FilterDate; since?: FilterDate; idModels?: string; limit?: number; } & NestedMemberParams & NestedMemberCreatorParams & NestedReactionsParams): TypedFetch; addComment(text: string): TypedFetch; updateComment(text: string): TypedFetch; updateText(value: string): TypedFetch; deleteComment(): TypedFetch; }