import type { ApiClient, ApiResponse } from '../../token/types.js'; /** * GitLab-specific API client interface used by tool handlers. * Wraps the generic ApiClient with GitLab API conventions. */ export interface GitLabClient { /** GET with optional query params, returns typed response */ get(path: string, params?: Record): Promise>; /** POST with JSON body */ post(path: string, body?: unknown): Promise>; /** PUT with JSON body */ put(path: string, body?: unknown): Promise>; /** DELETE */ delete(path: string): Promise>; /** Paginate through all pages using X-Next-Page header. Returns accumulated array. */ getAllPages(path: string, params?: Record): Promise; } /** * Create a GitLab API client from a generic ApiClient. * This is a thin wrapper — the actual HTTP and pagination logic lives in createApiClient. */ export declare function createGitLabClient(apiClient: ApiClient): GitLabClient; //# sourceMappingURL=client.d.ts.map