import { AllOrFieldOrListOf, AllOrNone, CheckItemField, ChecklistField, ChecklistRecord, NestedActionsParams, NestedBoardParams, NestedCardsParams, NestedChecklistsParams, PositionOrFloat, TypedFetch, ValueResponse } from "../typeDefs"; import { BaseResource } from "./BaseResource"; import { Board } from "./Board"; import { Card } from "./Card"; import { CheckItem } from "./CheckItem"; declare type GetChecklistsParams = { fields?: AllOrFieldOrListOf; filter?: AllOrNone; checkItems?: AllOrNone; checkItemFields?: AllOrFieldOrListOf; } | NestedChecklistsParams; /** * Checklists are lists on boards that have items that can be completed or * "checked off". * @see https://developers.trello.com/reference#checklist * @class */ export declare class Checklist extends BaseResource { getChecklist(params?: { fields?: AllOrFieldOrListOf; checkItems?: AllOrNone; checkItemFields?: AllOrFieldOrListOf; } & NestedActionsParams & NestedBoardParams & NestedCardsParams): TypedFetch; getChecklists(params?: GetChecklistsParams & NestedActionsParams & NestedBoardParams): TypedFetch; getFieldValue(field: ChecklistField): TypedFetch>; addChecklist(params: { idCard?: string; name?: string; pos?: PositionOrFloat; idChecklistSource?: string; }): TypedFetch; updateChecklist(params: { name?: string; pos?: PositionOrFloat; }): TypedFetch; updateName(value: string): TypedFetch; updatePosition(value: PositionOrFloat): TypedFetch; deleteChecklist(): TypedFetch; board(): Board; cards(): Card; checkItem(idCheckItem: string): CheckItem; checkItems(idCheckItem?: string): CheckItem; } export {};