import { type KyInstance, type Options } from "ky"; import { type Paginated } from "./pagination.js"; export interface HttpClientOptions { baseUrl: string; token?: string; username?: string; password?: string; headers?: Record; timeoutMs?: number; } export interface HttpClients { /** Unprefixed base: endpoints outside /rest (repository attachments). */ root: KyInstance; api: KyInstance; buildStatus: KyInstance; commentLikes: KyInstance; emoticons: KyInstance; insights: KyInstance; search: KyInstance; branchUtils: KyInstance; defaultReviewers: KyInstance; git: KyInstance; ui: KyInstance; ssh: KyInstance; gpg: KyInstance; } export declare function createHttpClients(options: HttpClientOptions): HttpClients; export declare function getPaginated>(client: KyInstance, url: string, options?: Options): Promise>;