This repository has been archived on 2025-07-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
eternos/frontend/style/node_modules/next/dist/client/resolve-href.d.ts
2025-01-11 09:54:09 +03:00

8 lines
396 B
TypeScript

import type { NextRouter, Url } from '../shared/lib/router/router';
/**
* Resolves a given hyperlink with a certain router state (basePath not included).
* Preserves absolute urls.
*/
export declare function resolveHref(router: NextRouter, href: Url, resolveAs: true): [string, string] | [string];
export declare function resolveHref(router: NextRouter, href: Url, resolveAs?: false): string;