/**
 * This file was auto-generated by Fern from our API Definition.
 */
import * as environments from "../../../../../../environments";
import * as core from "../../../../../../core";
import * as Merge from "../../../../..";
export declare namespace Opportunities {
    interface Options {
        environment?: core.Supplier<environments.MergeEnvironment | string>;
        apiKey: core.Supplier<core.BearerToken>;
        accountToken?: core.Supplier<string | undefined>;
    }
    interface RequestOptions {
        timeoutInSeconds?: number;
    }
}
export declare class Opportunities {
    protected readonly _options: Opportunities.Options;
    constructor(_options: Opportunities.Options);
    /**
     * Returns a list of `Opportunity` objects.
     */
    list(request?: Merge.crm.OpportunitiesListRequest, requestOptions?: Opportunities.RequestOptions): Promise<Merge.crm.PaginatedOpportunityList>;
    /**
     * Creates an `Opportunity` object with the given values.
     */
    create(request: Merge.crm.OpportunityEndpointRequest, requestOptions?: Opportunities.RequestOptions): Promise<Merge.crm.OpportunityResponse>;
    /**
     * Returns an `Opportunity` object with the given `id`.
     */
    retrieve(id: string, request?: Merge.crm.OpportunitiesRetrieveRequest, requestOptions?: Opportunities.RequestOptions): Promise<Merge.crm.Opportunity>;
    /**
     * Updates an `Opportunity` object with the given `id`.
     */
    partialUpdate(id: string, request: Merge.crm.PatchedOpportunityEndpointRequest, requestOptions?: Opportunities.RequestOptions): Promise<Merge.crm.OpportunityResponse>;
    /**
     * Returns metadata for `Opportunity` PATCHs.
     */
    metaPatchRetrieve(id: string, requestOptions?: Opportunities.RequestOptions): Promise<Merge.crm.MetaResponse>;
    /**
     * Returns metadata for `Opportunity` POSTs.
     */
    metaPostRetrieve(requestOptions?: Opportunities.RequestOptions): Promise<Merge.crm.MetaResponse>;
    /**
     * Returns a list of `RemoteFieldClass` objects.
     */
    remoteFieldClassesList(request?: Merge.crm.OpportunitiesRemoteFieldClassesListRequest, requestOptions?: Opportunities.RequestOptions): Promise<Merge.crm.PaginatedRemoteFieldClassList>;
    protected _getAuthorizationHeader(): Promise<string>;
}
