UNPKG

universal-geocoder

Version:

Universal geocoding abstraction server-side and client-side with multiple built-in providers

22 lines 863 B
export declare const isBrowser: () => boolean; export declare const filterUndefinedObjectValues: <V>(object: Record<string, V | undefined>) => Record<string, V>; declare type NestedObject<V> = { [key: string]: V | NestedObject<V> | undefined; }; export declare const flattenObject: <S>(object: NestedObject<S>) => { [key: string]: S; }; /** * Decode from URL-safe base64 to true base64. */ export declare const decodeUrlSafeBase64: (safe: string) => string; /** * Encode from true base64 to URL-safe base64. */ export declare const encodeUrlSafeBase64: (base64: string) => string; export declare const decodeBase64: (base64: string) => string; export declare const isIpv4: (ip: string) => boolean; export declare const isIpv6: (ip: string) => boolean; export declare const getRequireFunc: () => Function; export {}; //# sourceMappingURL=utils.d.ts.map