/** * This file was auto-generated by Fern from our API Definition. */ import * as environments from "./environments.js"; import * as core from "./core/index.js"; import { Automations } from "./api/resources/automations/client/Client.js"; import { Files } from "./api/resources/files/client/Client.js"; import { Media } from "./api/resources/media/client/Client.js"; import { Tasks } from "./api/resources/tasks/client/Client.js"; import { Signatures } from "./api/resources/signatures/client/Client.js"; export declare namespace IttybitClient { interface Options { environment?: core.Supplier; /** Specify a custom URL to connect the client to. */ baseUrl?: core.Supplier; apiKey?: core.Supplier; /** Override the ACCEPT_VERSION header */ version?: core.Supplier; /** Additional headers to include in requests. */ headers?: Record | undefined>; 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; /** Override the ACCEPT_VERSION header */ version?: string | undefined; /** Additional query string parameters to include in the request. */ queryParams?: Record; /** Additional headers to include in the request. */ headers?: Record | undefined>; } } export declare class IttybitClient { protected readonly _options: IttybitClient.Options; protected _automations: Automations | undefined; protected _files: Files | undefined; protected _media: Media | undefined; protected _tasks: Tasks | undefined; protected _signatures: Signatures | undefined; constructor(_options?: IttybitClient.Options); get automations(): Automations; get files(): Files; get media(): Media; get tasks(): Tasks; get signatures(): Signatures; }