import { Archiver as ArchiverImpl, Options, Requests } from './types/cairn';
export declare class Archiver implements ArchiverImpl {
    private opt;
    private req;
    constructor();
    /**
     * Set archival request data.
     *
     * @param {object} [Requests] if error will be thrown
     * @return {this} [Cairn] `this` command for chaning
     * @api public
     */
    request(r: Requests): this;
    /**
     * Set archival options data.
     *
     * @param {object} [Options] if error will be thrown
     * @return {this} [Cairn] `this` command for chaning
     * @api public
     */
    options(o: Options): this;
    /**
     * Perform archival request.
     *
     * @return {Promise} with string
     * @api public
     */
    archive(): Promise<string>;
    download(url: string, referer?: string): Promise<any>;
}
