import type { BunextPageModuleServerReturn, BunxRouteParams } from "../types"; type Params = { serverRes: BunextPageModuleServerReturn; routeParams?: BunxRouteParams; }; /** * Builds the redirect Response for a server function that returned * `redirect`. An explicit `status_code` wins; otherwise `permanent` picks * 301, and the default is 302. Headers from `response_options` (e.g. a * Set-Cookie on login) and `res_transform` apply to the redirect too. */ export default function grabRedirectResponse({ serverRes, routeParams, }: Params): Promise; export {};