import { AllOrFieldOrListOf, AttachmentField, AttachmentFilter, CardActionType, CardCoordinatesRecord, CardField, CardFilter, CardRecord, ColorName, DateValue, FieldOrListOf, FileUpload, KeepFromSourceField, MemberField, NestedActionsParams, NestedBoardParams, NestedChecklistsParams, NestedMembersParams, PositionOrFloat, StickerField, TypedFetch, ValueResponse } from "../typeDefs"; import { Action } from "./Action"; import { Attachment } from "./Attachment"; import { BaseResource } from "./BaseResource"; import { Board } from "./Board"; import { CheckItem } from "./CheckItem"; import { Checklist } from "./Checklist"; import { Comment } from "./Comment"; import { CustomField } from "./CustomField"; import { CustomFieldOption } from "./CustomFieldOption"; import { Label } from "./Label"; import { List } from "./List"; import { Member } from "./Member"; import { Sticker } from "./Stickers"; export declare class Card extends BaseResource { getCard(params?: { fields?: AllOrFieldOrListOf; attachments?: AttachmentFilter; attachmentFields?: AllOrFieldOrListOf; membersVoted?: boolean; memberVotedFields?: AllOrFieldOrListOf; checkItemStates?: boolean; list?: boolean; pluginData?: boolean; stickers?: boolean; stickerFields?: AllOrFieldOrListOf; customFieldItems?: boolean; } & NestedActionsParams & NestedBoardParams & NestedChecklistsParams & NestedMembersParams): TypedFetch; getCards(params?: { fields?: AllOrFieldOrListOf; filter?: CardFilter; attachments?: AttachmentFilter; attachmentFields?: AllOrFieldOrListOf; checkItemStates?: boolean; pluginData?: boolean; stickers?: boolean; customFieldItems?: boolean; } & NestedActionsParams & NestedChecklistsParams & NestedMembersParams): TypedFetch; getCardsFilteredBy(filter: CardFilter): TypedFetch; getFieldValue(field: CardField): TypedFetch>; getPluginData(): TypedFetch; addCard(params?: { name?: string; desc?: string; pos?: PositionOrFloat; due?: DateValue; dueComplete?: boolean; idList?: string; idMembers?: string[]; idLabels?: string[]; urlSource?: string | null; fileSource?: FileUpload; idCardSource?: string; keepFromSource?: FieldOrListOf; labels?: AllOrFieldOrListOf; address?: string; locationName?: string; coordinates?: CardCoordinatesRecord | string; }): TypedFetch; updateCard(params: { name?: string; desc?: string; closed?: boolean; idMembers?: string[]; idAttachmentCover?: string; idList?: string; idLabels?: string[]; idBoard?: string; pos?: PositionOrFloat; due?: DateValue; dueComplete?: boolean; subscribed?: boolean; address?: string; locationName?: string; coordinates?: CardCoordinatesRecord | string; }): TypedFetch; updateClosedStatus(value: boolean): TypedFetch; updateDescription(value: string): TypedFetch; updateDueDate(value: DateValue): TypedFetch; updateDueComplete(value: boolean): TypedFetch; /** * Update the Id of the image attachment of this card to use as its cover. * @example PUT /1/cards/:cardId/idAttachmentCover * @see https://developers.trello.com/advanced-reference/card#put-1-cards-card-id-or-shortlink-idattachmentcover */ updateAttachmentCoverImage(idAttachmentCover: string): TypedFetch; moveToBoard(idBoard: string, params?: { idList?: string; }): TypedFetch; moveToList(idList: string): TypedFetch; updateName(value: string): TypedFetch; updatePosition(value: PositionOrFloat): TypedFetch; updateSubscribed(value: boolean): TypedFetch; markAssociatedNotificationsRead(): TypedFetch; deleteCard(): TypedFetch; actions(): Action; attachments(idAttachment?: string): Attachment; board(): Board; checkItem(idCheckItem: string): CheckItem; checkItemStates(): CheckItem; checklist(idChecklist: string): Checklist; checklists(idChecklist?: string): Checklist; comments(idComment?: string): Comment; customField(idCustomField: string): CustomField; customFieldItems(): CustomFieldOption; labels(idLabel?: string): Label; list(): List; members(idMember?: string): Member; membersVoted(idMember?: string): Member; stickers(idSticker?: string): Sticker; }