import { Middleware } from '../middleware'; export interface SetMissingUrlProtocolOptions { defaultProtocol?: string; } /** If the hyperlink URL starts with `//` (like `//example.com`) it means the browser will in all case try to use the current protocol. * * This middleware adds the protocol to the URL to facilicate the next middlewares that in majority use `new URL()` that would fail without a protocol * * Reminder: it's not advised to use this because if the HTML file is saved locally and open with the `file://` protocol, the link would not work */ export declare function SetMissingUrlProtocolMiddleware(options?: SetMissingUrlProtocolOptions): Middleware;