/**
 * 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 Folders {
    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 Folders {
    protected readonly _options: Folders.Options;
    constructor(_options: Folders.Options);
    /**
     * Returns a list of `Folder` objects.
     */
    list(request?: Merge.filestorage.FoldersListRequest, requestOptions?: Folders.RequestOptions): Promise<Merge.filestorage.PaginatedFolderList>;
    /**
     * Creates a `Folder` object with the given values.
     */
    create(request: Merge.filestorage.FileStorageFolderEndpointRequest, requestOptions?: Folders.RequestOptions): Promise<Merge.filestorage.FileStorageFolderResponse>;
    /**
     * Returns a `Folder` object with the given `id`.
     */
    retrieve(id: string, request?: Merge.filestorage.FoldersRetrieveRequest, requestOptions?: Folders.RequestOptions): Promise<Merge.filestorage.Folder>;
    /**
     * Returns metadata for `FileStorageFolder` POSTs.
     */
    metaPostRetrieve(requestOptions?: Folders.RequestOptions): Promise<Merge.filestorage.MetaResponse>;
    protected _getAuthorizationHeader(): Promise<string>;
}
