/**
 * This file was auto-generated by Fern from our API Definition.
 */
import * as environments from "../../../../environments";
import * as core from "../../../../core";
import { AccountDetails } from "../resources/accountDetails/client/Client";
import { AccountToken } from "../resources/accountToken/client/Client";
import { Accounts } from "../resources/accounts/client/Client";
import { AsyncPassthrough } from "../resources/asyncPassthrough/client/Client";
import { AuditTrail } from "../resources/auditTrail/client/Client";
import { AvailableActions } from "../resources/availableActions/client/Client";
import { Contacts } from "../resources/contacts/client/Client";
import { CustomObjectClasses } from "../resources/customObjectClasses/client/Client";
import { AssociationTypes } from "../resources/associationTypes/client/Client";
import { CustomObjects } from "../resources/customObjects/client/Client";
import { Associations } from "../resources/associations/client/Client";
import { Scopes } from "../resources/scopes/client/Client";
import { DeleteAccount } from "../resources/deleteAccount/client/Client";
import { EngagementTypes } from "../resources/engagementTypes/client/Client";
import { Engagements } from "../resources/engagements/client/Client";
import { FieldMapping } from "../resources/fieldMapping/client/Client";
import { GenerateKey } from "../resources/generateKey/client/Client";
import { Issues } from "../resources/issues/client/Client";
import { Leads } from "../resources/leads/client/Client";
import { LinkToken } from "../resources/linkToken/client/Client";
import { LinkedAccounts } from "../resources/linkedAccounts/client/Client";
import { Notes } from "../resources/notes/client/Client";
import { Opportunities } from "../resources/opportunities/client/Client";
import { Passthrough } from "../resources/passthrough/client/Client";
import { RegenerateKey } from "../resources/regenerateKey/client/Client";
import { Stages } from "../resources/stages/client/Client";
import { SyncStatus } from "../resources/syncStatus/client/Client";
import { ForceResync } from "../resources/forceResync/client/Client";
import { Tasks } from "../resources/tasks/client/Client";
import { Users } from "../resources/users/client/Client";
import { WebhookReceivers } from "../resources/webhookReceivers/client/Client";
export declare namespace Crm {
    interface Options {
        environment?: core.Supplier<environments.MergeEnvironment | string>;
        /** Specify a custom URL to connect the client to. */
        baseUrl?: core.Supplier<string>;
        apiKey: core.Supplier<core.BearerToken>;
        /** Override the X-Account-Token header */
        accountToken?: core.Supplier<string | undefined>;
        /** Additional headers to include in requests. */
        headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
        fetcher?: core.FetchFunction;
    }
}
export declare class Crm {
    protected readonly _options: Crm.Options;
    protected _accountDetails: AccountDetails | undefined;
    protected _accountToken: AccountToken | undefined;
    protected _accounts: Accounts | undefined;
    protected _asyncPassthrough: AsyncPassthrough | undefined;
    protected _auditTrail: AuditTrail | undefined;
    protected _availableActions: AvailableActions | undefined;
    protected _contacts: Contacts | undefined;
    protected _customObjectClasses: CustomObjectClasses | undefined;
    protected _associationTypes: AssociationTypes | undefined;
    protected _customObjects: CustomObjects | undefined;
    protected _associations: Associations | undefined;
    protected _scopes: Scopes | undefined;
    protected _deleteAccount: DeleteAccount | undefined;
    protected _engagementTypes: EngagementTypes | undefined;
    protected _engagements: Engagements | undefined;
    protected _fieldMapping: FieldMapping | undefined;
    protected _generateKey: GenerateKey | undefined;
    protected _issues: Issues | undefined;
    protected _leads: Leads | undefined;
    protected _linkToken: LinkToken | undefined;
    protected _linkedAccounts: LinkedAccounts | undefined;
    protected _notes: Notes | undefined;
    protected _opportunities: Opportunities | undefined;
    protected _passthrough: Passthrough | undefined;
    protected _regenerateKey: RegenerateKey | undefined;
    protected _stages: Stages | undefined;
    protected _syncStatus: SyncStatus | undefined;
    protected _forceResync: ForceResync | undefined;
    protected _tasks: Tasks | undefined;
    protected _users: Users | undefined;
    protected _webhookReceivers: WebhookReceivers | undefined;
    constructor(_options: Crm.Options);
    get accountDetails(): AccountDetails;
    get accountToken(): AccountToken;
    get accounts(): Accounts;
    get asyncPassthrough(): AsyncPassthrough;
    get auditTrail(): AuditTrail;
    get availableActions(): AvailableActions;
    get contacts(): Contacts;
    get customObjectClasses(): CustomObjectClasses;
    get associationTypes(): AssociationTypes;
    get customObjects(): CustomObjects;
    get associations(): Associations;
    get scopes(): Scopes;
    get deleteAccount(): DeleteAccount;
    get engagementTypes(): EngagementTypes;
    get engagements(): Engagements;
    get fieldMapping(): FieldMapping;
    get generateKey(): GenerateKey;
    get issues(): Issues;
    get leads(): Leads;
    get linkToken(): LinkToken;
    get linkedAccounts(): LinkedAccounts;
    get notes(): Notes;
    get opportunities(): Opportunities;
    get passthrough(): Passthrough;
    get regenerateKey(): RegenerateKey;
    get stages(): Stages;
    get syncStatus(): SyncStatus;
    get forceResync(): ForceResync;
    get tasks(): Tasks;
    get users(): Users;
    get webhookReceivers(): WebhookReceivers;
}
