expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
7 lines • 461 B
TypeScript
import { UrlObject } from '../LocationProvider';
import { LinkToOptions } from '../global-state/routing';
import { Href } from '../types';
/** Resolve an href object into a fully qualified, relative href. */
export declare const resolveHref: (href: Href) => string;
export declare function resolveHrefStringWithSegments(href: string, { segments, params }?: Partial<UrlObject>, { relativeToDirectory }?: LinkToOptions): string;
//# sourceMappingURL=href.d.ts.map