/** * This file was auto-generated by Fern from our API Definition. */ import * as environments from "./environments.mjs"; import * as core from "./core/index.mjs"; import { Analytics } from "./api/resources/analytics/client/Client.mjs"; import { Chat } from "./api/resources/chat/client/Client.mjs"; import { Code } from "./api/resources/code/client/Client.mjs"; import { ContentHash } from "./api/resources/contentHash/client/Client.mjs"; import { Conversation } from "./api/resources/conversation/client/Client.mjs"; import { Discord } from "./api/resources/discord/client/Client.mjs"; import { Document } from "./api/resources/document/client/Client.mjs"; import { Feedback } from "./api/resources/feedback/client/Client.mjs"; import { Guidance } from "./api/resources/guidance/client/Client.mjs"; import { Health } from "./api/resources/health/client/Client.mjs"; import { Index } from "./api/resources/index/client/Client.mjs"; import { Mcp } from "./api/resources/mcp/client/Client.mjs"; import { Query } from "./api/resources/query/client/Client.mjs"; import { Reindexing } from "./api/resources/reindexing/client/Client.mjs"; import { Sdks } from "./api/resources/sdks/client/Client.mjs"; import { Settings } from "./api/resources/settings/client/Client.mjs"; import { SlackAskFern } from "./api/resources/slackAskFern/client/Client.mjs"; import { SlackScribe } from "./api/resources/slackScribe/client/Client.mjs"; import { Sources } from "./api/resources/sources/client/Client.mjs"; import { Website } from "./api/resources/website/client/Client.mjs"; export declare namespace FernAIClient { interface Options { environment?: core.Supplier; /** Specify a custom URL to connect the client to. */ baseUrl?: core.Supplier; token?: core.Supplier; /** Additional headers to include in requests. */ headers?: Record | undefined>; } 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 query string parameters to include in the request. */ queryParams?: Record; /** Additional headers to include in the request. */ headers?: Record | undefined>; } } export declare class FernAIClient { protected readonly _options: FernAIClient.Options; protected _analytics: Analytics | undefined; protected _chat: Chat | undefined; protected _code: Code | undefined; protected _contentHash: ContentHash | undefined; protected _conversation: Conversation | undefined; protected _discord: Discord | undefined; protected _document: Document | undefined; protected _feedback: Feedback | undefined; protected _guidance: Guidance | undefined; protected _health: Health | undefined; protected _index: Index | undefined; protected _mcp: Mcp | undefined; protected _query: Query | undefined; protected _reindexing: Reindexing | undefined; protected _sdks: Sdks | undefined; protected _settings: Settings | undefined; protected _slackAskFern: SlackAskFern | undefined; protected _slackScribe: SlackScribe | undefined; protected _sources: Sources | undefined; protected _website: Website | undefined; constructor(_options?: FernAIClient.Options); get analytics(): Analytics; get chat(): Chat; get code(): Code; get contentHash(): ContentHash; get conversation(): Conversation; get discord(): Discord; get document(): Document; get feedback(): Feedback; get guidance(): Guidance; get health(): Health; get index(): Index; get mcp(): Mcp; get query(): Query; get reindexing(): Reindexing; get sdks(): Sdks; get settings(): Settings; get slackAskFern(): SlackAskFern; get slackScribe(): SlackScribe; get sources(): Sources; get website(): Website; }