import { Plan, Task, CreateTaskRequest, CreateTaskResponse } from '../types/api.js';
import { MCPConfig } from '../config/config.js';
/**
 * HTTP client for Trackex API communication
 */
export declare class TrackexApiClient {
    private client;
    private config;
    constructor(config: MCPConfig);
    /**
     * Handles API errors and provides structured error information
     */
    private handleApiError;
    /**
     * Tests API connection and authentication
     */
    testConnection(): Promise<boolean>;
    /**
     * Creates a new task (management role required)
     * POST /api/tasks/create_task
     */
    createTask(taskData: CreateTaskRequest): Promise<CreateTaskResponse>;
    /**
     * Gets today's tasks for the authenticated user
     * GET /api/plans/my_tasks (with today's date)
     */
    getTodayTasks(): Promise<Plan[]>;
    /**
     * Gets pending tasks for the authenticated user
     * GET /api/plans/all-pending-tasks
     */
    getPendingTasks(): Promise<Plan[]>;
    /**
     * Gets ad-hoc/urgent tasks for the authenticated user
     * GET /api/tasks/all_tasks with adhoc filter
     */
    getAdhocTasks(): Promise<Task[]>;
    /**
     * Gets user information to verify authentication
     */
    getUserInfo(): Promise<any>;
}
//# sourceMappingURL=apiClient.d.ts.map