/**
 * 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 "../../../../../index";
export declare namespace Locations {
    interface Options {
        environment?: core.Supplier<environments.MergeEnvironment | string>;
        apiKey: core.Supplier<core.BearerToken>;
        /** Override the X-Account-Token header */
        accountToken?: core.Supplier<string | undefined>;
        fetcher?: core.FetchFunction;
    }
    interface RequestOptions {
        /** The maximum time to wait for a response in seconds. */
        timeoutInSeconds?: number;
        /** The number of times to retry the request. Defaults to 2. */
        maxRetries?: number;
        /** A hook to abort the request. */
        abortSignal?: AbortSignal;
        /** Override the X-Account-Token header */
        accountToken?: string | undefined;
        /** Additional headers to include in the request. */
        headers?: Record<string, string>;
    }
}
export declare class Locations {
    protected readonly _options: Locations.Options;
    constructor(_options: Locations.Options);
    /**
     * Returns a list of `Location` objects.
     *
     * @param {Merge.hris.LocationsListRequest} request
     * @param {Locations.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.hris.locations.list()
     */
    list(request?: Merge.hris.LocationsListRequest, requestOptions?: Locations.RequestOptions): Promise<Merge.hris.PaginatedLocationList>;
    /**
     * Returns a `Location` object with the given `id`.
     *
     * @param {string} id
     * @param {Merge.hris.LocationsRetrieveRequest} request
     * @param {Locations.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.hris.locations.retrieve("id")
     */
    retrieve(id: string, request?: Merge.hris.LocationsRetrieveRequest, requestOptions?: Locations.RequestOptions): Promise<Merge.hris.Location>;
    protected _getAuthorizationHeader(): Promise<string>;
}
