/**
 * A library for mounting different `fetch` handlers on
 * URL pathnames.
 *
 * @preferred
 * @module fly/fetch/mount
 */
import { FetchFunction } from ".";
/**
 * Mount different handlers on URL paths. Example:
 *
 * ```javascript
 * import { mount } from "@fly/fetch/mount"
 * const mounts = mount({
 *  "/hello/": (req, init) => new Response("hello")
 *  "/": (req, init) => new Response("index")
 * })
 *
 * fly.http.respondWith(mounts)
 * ```
 */
export declare function mount(paths: MountInfo): FetchFunction;
/**
 * Path and fetch function map for `mount` handler
 */
export interface MountInfo {
    [prefix: string]: FetchFunction;
}
export default mount;
