/**
 * ```javascript
 * import { staticServer } from "@fly/fetch"
 * ```
 * @module fly/static-server
 */
/**
 * A basic static file server. Generates a fetch function that serves requests
 * from files in the app config. This function knows how to map some default file extensions
 * to mime types.
 * @param opts options for this server instance
 */
export default function staticServer(opts?: StaticServerOptions): (req: string | Request, init?: RequestInit) => Promise<Response>;
/**
 * Options for static file serving, controls how files are retrieved.
 */
export interface StaticServerOptions {
    index?: string;
    root?: string;
    mimeTypes?: {
        [ext: string]: string;
    };
}
