import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient";
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient";
import * as core from "../../../../../../core";
import type * as Merge from "../../../../../index";
export declare namespace AccountsClient {
    type Options = BaseClientOptions;
    interface RequestOptions extends BaseRequestOptions {
    }
}
export declare class AccountsClient {
    protected readonly _options: NormalizedClientOptionsWithAuth<AccountsClient.Options>;
    constructor(options: AccountsClient.Options);
    /**
     * Returns a list of `Account` objects.
     *
     * @param {Merge.crm.AccountsListRequest} request
     * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.crm.accounts.list({
     *         createdAfter: new Date("2024-01-15T09:30:00.000Z"),
     *         createdBefore: new Date("2024-01-15T09:30:00.000Z"),
     *         cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
     *         includeDeletedData: true,
     *         includeRemoteData: true,
     *         includeRemoteFields: true,
     *         includeShellData: true,
     *         modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
     *         modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
     *         name: "name",
     *         ownerId: "owner_id",
     *         pageSize: 1,
     *         remoteId: "remote_id"
     *     })
     */
    list(request?: Merge.crm.AccountsListRequest, requestOptions?: AccountsClient.RequestOptions): Promise<core.Page<Merge.crm.Account, Merge.crm.PaginatedAccountList>>;
    /**
     * Creates an `Account` object with the given values.
     *
     * @param {Merge.crm.CrmAccountEndpointRequest} request
     * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.crm.accounts.create({
     *         isDebugMode: true,
     *         runAsync: true,
     *         model: {}
     *     })
     */
    create(request: Merge.crm.CrmAccountEndpointRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Merge.crm.CrmAccountResponse>;
    private __create;
    /**
     * Returns an `Account` object with the given `id`.
     *
     * @param {string} id
     * @param {Merge.crm.AccountsRetrieveRequest} request
     * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.crm.accounts.retrieve("id", {
     *         includeRemoteData: true,
     *         includeRemoteFields: true,
     *         includeShellData: true
     *     })
     */
    retrieve(id: string, request?: Merge.crm.AccountsRetrieveRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Merge.crm.Account>;
    private __retrieve;
    /**
     * Updates an `Account` object with the given `id`.
     *
     * @param {string} id
     * @param {Merge.crm.PatchedCrmAccountEndpointRequest} request
     * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.crm.accounts.partialUpdate("id", {
     *         isDebugMode: true,
     *         runAsync: true,
     *         model: {}
     *     })
     */
    partialUpdate(id: string, request: Merge.crm.PatchedCrmAccountEndpointRequest, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Merge.crm.CrmAccountResponse>;
    private __partialUpdate;
    /**
     * Returns metadata for `CRMAccount` PATCHs.
     *
     * @param {string} id
     * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.crm.accounts.metaPatchRetrieve("id")
     */
    metaPatchRetrieve(id: string, requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Merge.crm.MetaResponse>;
    private __metaPatchRetrieve;
    /**
     * Returns metadata for `CRMAccount` POSTs.
     *
     * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.crm.accounts.metaPostRetrieve()
     */
    metaPostRetrieve(requestOptions?: AccountsClient.RequestOptions): core.HttpResponsePromise<Merge.crm.MetaResponse>;
    private __metaPostRetrieve;
    /**
     * Returns a list of `RemoteFieldClass` objects.
     *
     * @param {Merge.crm.AccountsRemoteFieldClassesListRequest} request
     * @param {AccountsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.crm.accounts.remoteFieldClassesList({
     *         cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
     *         includeDeletedData: true,
     *         includeRemoteData: true,
     *         includeRemoteFields: true,
     *         includeShellData: true,
     *         isCommonModelField: true,
     *         isCustom: true,
     *         pageSize: 1
     *     })
     */
    remoteFieldClassesList(request?: Merge.crm.AccountsRemoteFieldClassesListRequest, requestOptions?: AccountsClient.RequestOptions): Promise<core.Page<Merge.crm.RemoteFieldClass, Merge.crm.PaginatedRemoteFieldClassList>>;
}
