/*!
 * express
 * Copyright(c) 2009-2013 TJ Holowaychuk
 * Copyright(c) 2014-2015 Douglas Christopher Wilson
 * Copyright(c) 2024 Emmanuel Paul Elom
 * MIT Licensed
 */
import { Request } from './index';
/**
 * Check if `path` looks absolute.
 *
 * @param {String} path
 * @return {Boolean}
 * @api private
 */
export declare function isAbsolute(path: string): boolean;
/**
 * Compile "query parser" value to function.
 *
 * @param  {String|Function} val
 * @return {Function}
 * @api private
 */
export declare function compileQueryParser(val: string | ((str: string) => Record<string, any>)): (str: string) => Record<string, any>;
export type MethodsType = {
    get: (path: string, handler: (req: Request) => any) => any;
    put: (path: string, handler: (req: Request) => any) => any;
    post: (path: string, handler: (req: Request) => any) => any;
    update: (path: string, handler: (req: Request) => any) => any;
    option: (path: string, handler: (req: Request) => any) => any;
    patch: (path: string, handler: (req: Request) => any) => any;
};
export declare const methods: string[];
