/**
 * 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 TimeOff {
    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 TimeOff {
    protected readonly _options: TimeOff.Options;
    constructor(_options: TimeOff.Options);
    /**
     * Returns a list of `TimeOff` objects.
     */
    list(request?: Merge.hris.TimeOffListRequest, requestOptions?: TimeOff.RequestOptions): Promise<Merge.hris.PaginatedTimeOffList>;
    /**
     * Creates a `TimeOff` object with the given values.
     */
    create(request: Merge.hris.TimeOffEndpointRequest, requestOptions?: TimeOff.RequestOptions): Promise<Merge.hris.TimeOffResponse>;
    /**
     * Returns a `TimeOff` object with the given `id`.
     */
    retrieve(id: string, request?: Merge.hris.TimeOffRetrieveRequest, requestOptions?: TimeOff.RequestOptions): Promise<Merge.hris.TimeOff>;
    /**
     * Returns metadata for `TimeOff` POSTs.
     */
    metaPostRetrieve(requestOptions?: TimeOff.RequestOptions): Promise<Merge.hris.MetaResponse>;
    protected _getAuthorizationHeader(): Promise<string>;
}
