/**
 * request method.
 */
export declare enum RequestMethod {
    /**
     * Get method.
     */
    Get = 1,
    /**
     * Post method.
     */
    Post = 2,
    /**
     * Put method.
     */
    Put = 3,
    /**
     * Delete method.
     */
    Delete = 4,
    /**
     * Options method.
     */
    Options = 5,
    /**
     * Head method.
     */
    Head = 6,
    /**
     * Patch method.
     */
    Patch = 7
}
/**
 * request methods.
 */
export declare type RequestMethods = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
/**
 * request method type.
 */
export declare type RequestMethodType = RequestMethods | RequestMethod;
/**
 * convert method to string.
 *
 * @export
 * @param {RequestMethod} [method]
 * @returns {string}
 */
export declare function methodToString(method?: string | RequestMethod): string;
/**
 * parse string to RequestMethod
 *
 * @export
 * @param {string} [method]
 * @returns {RequestMethod}
 */
export declare function parseRequestMethod(method?: string): RequestMethod;
