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 OpportunitiesClient {
    type Options = BaseClientOptions;
    interface RequestOptions extends BaseRequestOptions {
    }
}
export declare class OpportunitiesClient {
    protected readonly _options: NormalizedClientOptionsWithAuth<OpportunitiesClient.Options>;
    constructor(options: OpportunitiesClient.Options);
    /**
     * Returns a list of `Opportunity` objects.
     *
     * @param {Merge.crm.OpportunitiesListRequest} request
     * @param {OpportunitiesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.crm.opportunities.list({
     *         accountId: "account_id",
     *         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"),
     *         ownerId: "owner_id",
     *         pageSize: 1,
     *         remoteCreatedAfter: new Date("2024-01-15T09:30:00.000Z"),
     *         remoteFields: "status",
     *         remoteId: "remote_id",
     *         showEnumOrigins: "status",
     *         stageId: "stage_id",
     *         status: "LOST"
     *     })
     */
    list(request?: Merge.crm.OpportunitiesListRequest, requestOptions?: OpportunitiesClient.RequestOptions): Promise<core.Page<Merge.crm.Opportunity, Merge.crm.PaginatedOpportunityList>>;
    /**
     * Creates an `Opportunity` object with the given values.
     *
     * @param {Merge.crm.OpportunityEndpointRequest} request
     * @param {OpportunitiesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.crm.opportunities.create({
     *         isDebugMode: true,
     *         runAsync: true,
     *         model: {}
     *     })
     */
    create(request: Merge.crm.OpportunityEndpointRequest, requestOptions?: OpportunitiesClient.RequestOptions): core.HttpResponsePromise<Merge.crm.OpportunityResponse>;
    private __create;
    /**
     * Returns an `Opportunity` object with the given `id`.
     *
     * @param {string} id
     * @param {Merge.crm.OpportunitiesRetrieveRequest} request
     * @param {OpportunitiesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.crm.opportunities.retrieve("id", {
     *         includeRemoteData: true,
     *         includeRemoteFields: true,
     *         includeShellData: true,
     *         remoteFields: "status",
     *         showEnumOrigins: "status"
     *     })
     */
    retrieve(id: string, request?: Merge.crm.OpportunitiesRetrieveRequest, requestOptions?: OpportunitiesClient.RequestOptions): core.HttpResponsePromise<Merge.crm.Opportunity>;
    private __retrieve;
    /**
     * Updates an `Opportunity` object with the given `id`.
     *
     * @param {string} id
     * @param {Merge.crm.PatchedOpportunityEndpointRequest} request
     * @param {OpportunitiesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.crm.opportunities.partialUpdate("id", {
     *         isDebugMode: true,
     *         runAsync: true,
     *         model: {}
     *     })
     */
    partialUpdate(id: string, request: Merge.crm.PatchedOpportunityEndpointRequest, requestOptions?: OpportunitiesClient.RequestOptions): core.HttpResponsePromise<Merge.crm.OpportunityResponse>;
    private __partialUpdate;
    /**
     * Returns metadata for `Opportunity` PATCHs.
     *
     * @param {string} id
     * @param {OpportunitiesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.crm.opportunities.metaPatchRetrieve("id")
     */
    metaPatchRetrieve(id: string, requestOptions?: OpportunitiesClient.RequestOptions): core.HttpResponsePromise<Merge.crm.MetaResponse>;
    private __metaPatchRetrieve;
    /**
     * Returns metadata for `Opportunity` POSTs.
     *
     * @param {OpportunitiesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.crm.opportunities.metaPostRetrieve()
     */
    metaPostRetrieve(requestOptions?: OpportunitiesClient.RequestOptions): core.HttpResponsePromise<Merge.crm.MetaResponse>;
    private __metaPostRetrieve;
    /**
     * Returns a list of `RemoteFieldClass` objects.
     *
     * @param {Merge.crm.OpportunitiesRemoteFieldClassesListRequest} request
     * @param {OpportunitiesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.crm.opportunities.remoteFieldClassesList({
     *         cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
     *         includeDeletedData: true,
     *         includeRemoteData: true,
     *         includeRemoteFields: true,
     *         includeShellData: true,
     *         isCommonModelField: true,
     *         isCustom: true,
     *         pageSize: 1
     *     })
     */
    remoteFieldClassesList(request?: Merge.crm.OpportunitiesRemoteFieldClassesListRequest, requestOptions?: OpportunitiesClient.RequestOptions): Promise<core.Page<Merge.crm.RemoteFieldClass, Merge.crm.PaginatedRemoteFieldClassList>>;
}
