import { TrelloConfig, TrelloCard, TrelloList, TrelloAction, TrelloAttachment, TrelloBoard, TrelloWorkspace, EnhancedTrelloCard, TrelloChecklist, TrelloCheckItem, CheckList, CheckListItem, TrelloComment, TrelloMember, TrelloLabelDetails } from './types.js'; export declare class TrelloClient { private config; private axiosInstance; private rateLimiter; private defaultBoardId?; private activeConfig; private defaultApiKey?; private defaultToken?; constructor(config: TrelloConfig); /** * Load saved configuration from disk */ loadConfig(): Promise; /** * Save current configuration to disk */ private saveConfig; /** * Get the current active board ID */ get activeBoardId(): string | undefined; /** * Get the current active workspace ID */ get activeWorkspaceId(): string | undefined; /** * Set the active board */ setActiveBoard(apiKey: string, token: string, boardId: string): Promise; /** * Set the active workspace */ setActiveWorkspace(apiKey: string, token: string, workspaceId: string): Promise; private handleRequest; /** * List all boards the user has access to */ listBoards(apiKey: string, token: string): Promise; /** * Get a specific board by ID */ getBoardById(apiKey: string, token: string, boardId: string): Promise; /** * List all workspaces the user has access to */ listWorkspaces(apiKey: string, token: string): Promise; /** * Get a specific workspace by ID */ getWorkspaceById(apiKey: string, token: string, workspaceId: string): Promise; /** * List boards in a specific workspace */ listBoardsInWorkspace(apiKey: string, token: string, workspaceId: string): Promise; /** * Create a new board */ createBoard(apiKey: string, token: string, params: { name: string; desc?: string; idOrganization?: string; defaultLabels?: boolean; defaultLists?: boolean; }): Promise; getCardsByList(apiKey: string, token: string, boardId: string | undefined, listId: string): Promise; getLists(apiKey: string, token: string, boardId?: string): Promise; getRecentActivity(apiKey: string, token: string, boardId?: string, limit?: number): Promise; addCard(apiKey: string, token: string, boardId: string | undefined, params: { listId: string; name: string; description?: string; dueDate?: string; start?: string; labels?: string[]; }): Promise; updateCard(apiKey: string, token: string, boardId: string | undefined, params: { cardId: string; name?: string; description?: string; dueDate?: string; start?: string; dueComplete?: boolean; labels?: string[]; }): Promise; archiveCard(apiKey: string, token: string, boardId: string | undefined, cardId: string): Promise; moveCard(apiKey: string, token: string, boardId: string | undefined, cardId: string, listId: string): Promise; addList(apiKey: string, token: string, boardId: string | undefined, name: string): Promise; archiveList(apiKey: string, token: string, boardId: string | undefined, listId: string): Promise; getMyCards(apiKey: string, token: string): Promise; attachImageToCard(apiKey: string, token: string, boardId: string | undefined, cardId: string, imageUrl: string, name?: string): Promise; attachImageDataToCard(apiKey: string, token: string, boardId: string | undefined, cardId: string, imageData: string, name?: string, mimeType?: string): Promise; attachFileToCard(apiKey: string, token: string, boardId: string | undefined, cardId: string, fileUrl: string, name?: string, mimeType?: string): Promise; getCard(apiKey: string, token: string, cardId: string, includeMarkdown?: boolean): Promise; addCommentToCard(apiKey: string, token: string, cardId: string, text: string): Promise; updateCommentOnCard(apiKey: string, token: string, commentId: string, text: string): Promise; deleteCommentFromCard(apiKey: string, token: string, commentId: string): Promise; getCardComments(apiKey: string, token: string, cardId: string, limit?: number): Promise; getChecklistItems(name: string, cardId?: string, boardId?: string): Promise; addChecklistItem(text: string, checkListName: string, cardId?: string, boardId?: string): Promise; findChecklistItemsByDescription(description: string, cardId?: string, boardId?: string): Promise; getAcceptanceCriteria(cardId?: string, boardId?: string): Promise; createChecklist(apiKey: string, token: string, name: string, cardId: string): Promise; getChecklistByName(name: string, cardId?: string, boardId?: string): Promise; /** * Update a checklist item state (complete/incomplete) */ updateChecklistItem(apiKey: string, token: string, cardId: string, checkItemId: string, state: 'complete' | 'incomplete'): Promise; private formatCardAsMarkdown; private formatFileSize; private convertToCheckListItem; private convertToCheckList; getBoardMembers(apiKey: string, token: string, boardId?: string): Promise; assignMemberToCard(apiKey: string, token: string, cardId: string, memberId: string): Promise; removeMemberFromCard(apiKey: string, token: string, cardId: string, memberId: string): Promise; getBoardLabels(apiKey: string, token: string, boardId?: string): Promise; createLabel(apiKey: string, token: string, boardId: string | undefined, name: string, color?: string): Promise; updateLabel(apiKey: string, token: string, labelId: string, name?: string, color?: string): Promise; deleteLabel(apiKey: string, token: string, labelId: string): Promise; getCardHistory(apiKey: string, token: string, cardId: string, filter?: string, limit?: number): Promise; }