/**
 * 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 Projects {
    interface Options {
        environment?: core.Supplier<environments.MergeEnvironment | string>;
        /** Specify a custom URL to connect the client to. */
        baseUrl?: core.Supplier<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 Projects {
    protected readonly _options: Projects.Options;
    constructor(_options: Projects.Options);
    /**
     * Returns a list of `Project` objects.
     *
     * @param {Merge.ticketing.ProjectsListRequest} request
     * @param {Projects.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.ticketing.projects.list()
     */
    list(request?: Merge.ticketing.ProjectsListRequest, requestOptions?: Projects.RequestOptions): core.HttpResponsePromise<Merge.ticketing.PaginatedProjectList>;
    private __list;
    /**
     * Returns a `Project` object with the given `id`.
     *
     * @param {string} id
     * @param {Merge.ticketing.ProjectsRetrieveRequest} request
     * @param {Projects.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.ticketing.projects.retrieve("id")
     */
    retrieve(id: string, request?: Merge.ticketing.ProjectsRetrieveRequest, requestOptions?: Projects.RequestOptions): core.HttpResponsePromise<Merge.ticketing.Project>;
    private __retrieve;
    /**
     * Returns a list of `User` objects.
     *
     * @param {string} parentId
     * @param {Merge.ticketing.ProjectsUsersListRequest} request
     * @param {Projects.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.ticketing.projects.usersList("parent_id")
     */
    usersList(parentId: string, request?: Merge.ticketing.ProjectsUsersListRequest, requestOptions?: Projects.RequestOptions): core.HttpResponsePromise<Merge.ticketing.PaginatedUserList>;
    private __usersList;
    protected _getAuthorizationHeader(): Promise<string>;
}
