/** * This file was auto-generated by Fern from our API Definition. */ import * as environments from "./environments"; import * as core from "./core"; import { Actors } from "./api/resources/actors/client/Client"; import { Builds } from "./api/resources/builds/client/Client"; import { Regions } from "./api/resources/regions/client/Client"; import { Routes } from "./api/resources/routes/client/Client"; export declare namespace RivetClient { interface Options { environment?: core.Supplier; /** Specify a custom URL to connect the client to. */ baseUrl?: core.Supplier; token?: core.Supplier; /** Override the X-API-Version header */ xApiVersion?: "25.5.3"; fetcher?: core.FetchFunction; } interface RequestOptions { /** The maximum time to wait for a response in seconds. */ timeoutInSeconds?: number; /** The number of times to retry the request. Defaults to 2. */ maxRetries?: number; /** A hook to abort the request. */ abortSignal?: AbortSignal; /** Additional headers to include in the request. */ headers?: Record; /** Override the X-API-Version header */ xApiVersion?: "25.5.3"; } } export declare class RivetClient { protected readonly _options: RivetClient.Options; protected _actors: Actors | undefined; protected _builds: Builds | undefined; protected _regions: Regions | undefined; protected _routes: Routes | undefined; constructor(_options?: RivetClient.Options); get actors(): Actors; get builds(): Builds; get regions(): Regions; get routes(): Routes; }