import { Context } from "../../agent/Context";
import { RequestContextStorage } from "./RequestContextStorage";
/**
 * Is called by wrapOnHeaders if a request results in a redirect.
 * Check for redirects and store them in the context, if they are originating from user input.
 */
export declare function onRedirect(destination: URL, requestContext: ReturnType<typeof RequestContextStorage.getStore>, context: Context): void;
