expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
10 lines (9 loc) • 514 B
TypeScript
/**
* Does the input string start with a valid URL scheme.
* NOTE: Additional strictness added to ensure URLs sent in query parameters for in-app navigation are not matched.
*/
export declare function hasUrlProtocolPrefix(href: string): boolean;
export declare function isWellKnownUri(href: string): boolean;
export declare function shouldLinkExternally(href: string): boolean;
export declare function parseUrlUsingCustomBase(href: string): URL;
export declare function safeDecodeURIComponent(value: any): any;