import type { AddGoalArgs, GetGoalsArgs, GetGoalsResponse, Goal, SearchGoalsArgs, TaskLinkingArgs, UpdateGoalArgs } from '../types/goals/index.js'; import { BaseClient } from './base-client.js'; /** * Internal sub-client handling all goal-domain endpoints. * * Instantiated by `TodoistApi`; every public goal method on `TodoistApi` * delegates here. See `todoist-api.ts` for the user-facing JSDoc. */ export declare class GoalsClient extends BaseClient { getGoals(args?: GetGoalsArgs): Promise; searchGoals(args: SearchGoalsArgs): Promise; getGoal(id: string): Promise; addGoal(args: AddGoalArgs, requestId?: string): Promise; updateGoal(id: string, args: UpdateGoalArgs, requestId?: string): Promise; deleteGoal(id: string, requestId?: string): Promise; completeGoal(id: string, requestId?: string): Promise; uncompleteGoal(id: string, requestId?: string): Promise; linkTaskToGoal({ goalId, taskId }: TaskLinkingArgs, requestId?: string): Promise; unlinkTaskFromGoal({ goalId, taskId }: TaskLinkingArgs, requestId?: string): Promise; }