export type GitlabClientOptions = { baseUrl?: string; token: string; oauth?: boolean; fetchFn?: typeof fetch; }; export declare class GitlabClient { readonly baseUrl: string; readonly token: string; readonly oauth: boolean; private readonly fetchImpl; constructor(options: GitlabClientOptions); private headers; request(method: "GET" | "POST" | "PUT" | "DELETE", path: string, init?: { query?: Record; body?: unknown; }): Promise; requestText(method: "GET" | "POST" | "PUT" | "DELETE", path: string, init?: { query?: Record; body?: unknown; }): Promise; requestAllPages(path: string, query?: Record, maxPages?: number): Promise; }