import { AllOrFieldOrListOf, ListField, ListFilter, ListRecord, NestedActionsParams, NestedBoardParams, NestedCardsParams, PositionOrFloat, TypedFetch, ValueResponse } from "../typeDefs"; import { Action } from "./Action"; import { BaseResource } from "./BaseResource"; import { Board } from "./Board"; import { Card } from "./Card"; export declare class List extends BaseResource { getList(params?: { fields?: AllOrFieldOrListOf; } & NestedActionsParams & NestedBoardParams & NestedCardsParams): TypedFetch; getLists(params?: { filter?: ListFilter; fields?: AllOrFieldOrListOf; } & NestedCardsParams): TypedFetch; getListsFilteredBy(filter: ListFilter): TypedFetch; getFieldValue(field: ListField): TypedFetch>; addList(params: { name: string; idBoard?: string; idListSource?: string; pos?: PositionOrFloat; }): TypedFetch; updateList(params: { name?: string; closed?: boolean; idBoard?: string; pos?: PositionOrFloat; subscribed?: boolean; }): TypedFetch; updateClosedStatus(value: boolean): TypedFetch; moveToBoard(idBoard: string): TypedFetch; updateName(value: string): TypedFetch; updatePosition(value: PositionOrFloat): TypedFetch; /** * Alters the soft limit for number of cards in the list. This is used in conjunction * with the List Limits Power-Up which will highlight lists that go over their set limit. * @param value A number between 0 and 5000 or "none" to remove the limit. */ updateSoftLimit(value: "none" | number): TypedFetch; updateSubscribed(value: boolean): TypedFetch; archiveAllCards(): TypedFetch; moveAllCards(params: { idBoard: string; idList: string; }): TypedFetch; actions(): Action; board(): Board; cards(): Card; }