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 ApplicationsClient {
    type Options = BaseClientOptions;
    interface RequestOptions extends BaseRequestOptions {
    }
}
export declare class ApplicationsClient {
    protected readonly _options: NormalizedClientOptionsWithAuth<ApplicationsClient.Options>;
    constructor(options: ApplicationsClient.Options);
    /**
     * Returns a list of `Application` objects.
     *
     * @param {Merge.ats.ApplicationsListRequest} request
     * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.ats.applications.list({
     *         candidateId: "candidate_id",
     *         createdAfter: new Date("2024-01-15T09:30:00.000Z"),
     *         createdBefore: new Date("2024-01-15T09:30:00.000Z"),
     *         creditedToId: "credited_to_id",
     *         currentStageId: "current_stage_id",
     *         cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
     *         includeDeletedData: true,
     *         includeRemoteData: true,
     *         includeShellData: true,
     *         jobId: "job_id",
     *         modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
     *         modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
     *         pageSize: 1,
     *         rejectReasonId: "reject_reason_id",
     *         remoteId: "remote_id",
     *         source: "source"
     *     })
     */
    list(request?: Merge.ats.ApplicationsListRequest, requestOptions?: ApplicationsClient.RequestOptions): Promise<core.Page<Merge.ats.Application, Merge.ats.PaginatedApplicationList>>;
    /**
     * Creates an `Application` object with the given values.
     * For certain integrations, but not all, our API detects duplicate candidates and will associate applications with existing records in the third-party. New candidates are created and automatically linked to the application.
     *
     * See our [Help Center article](https://help.merge.dev/en/articles/10012366-updates-to-post-applications-oct-2024) for detailed support per integration.
     *
     * @param {Merge.ats.ApplicationEndpointRequest} request
     * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.ats.applications.create({
     *         isDebugMode: true,
     *         runAsync: true,
     *         model: {},
     *         remoteUserId: "remote_user_id"
     *     })
     */
    create(request: Merge.ats.ApplicationEndpointRequest, requestOptions?: ApplicationsClient.RequestOptions): core.HttpResponsePromise<Merge.ats.ApplicationResponse>;
    private __create;
    /**
     * Returns an `Application` object with the given `id`.
     *
     * @param {string} id
     * @param {Merge.ats.ApplicationsRetrieveRequest} request
     * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.ats.applications.retrieve("id", {
     *         includeRemoteData: true,
     *         includeShellData: true
     *     })
     */
    retrieve(id: string, request?: Merge.ats.ApplicationsRetrieveRequest, requestOptions?: ApplicationsClient.RequestOptions): core.HttpResponsePromise<Merge.ats.Application>;
    private __retrieve;
    /**
     * Updates the `current_stage` field of an `Application` object
     *
     * @param {string} id
     * @param {Merge.ats.UpdateApplicationStageRequest} request
     * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.ats.applications.changeStageCreate("id", {
     *         isDebugMode: true,
     *         runAsync: true
     *     })
     */
    changeStageCreate(id: string, request?: Merge.ats.UpdateApplicationStageRequest, requestOptions?: ApplicationsClient.RequestOptions): core.HttpResponsePromise<Merge.ats.ApplicationResponse>;
    private __changeStageCreate;
    /**
     * Returns metadata for `Application` POSTs.
     *
     * @param {Merge.ats.ApplicationsMetaPostRetrieveRequest} request
     * @param {ApplicationsClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.ats.applications.metaPostRetrieve({
     *         applicationRemoteTemplateId: "application_remote_template_id"
     *     })
     */
    metaPostRetrieve(request?: Merge.ats.ApplicationsMetaPostRetrieveRequest, requestOptions?: ApplicationsClient.RequestOptions): core.HttpResponsePromise<Merge.ats.MetaResponse>;
    private __metaPostRetrieve;
}
