UNPKG

585 BTypeScriptView Raw
1import { t } from '../common';
2export declare function toPort(input: string): number | undefined;
3export declare function stripHttp(input: string): string;
4export declare function stripPort(input: string): string;
5export declare function stripSlash(input: string): string;
6export declare function stripSlashStart(input: string): string;
7export declare function stripSlashEnd(input: string): string;
8export declare function toProtocol(input: string): t.HttpProtocol;
9export declare function isInternalIP(input: string): boolean;
10export declare function isLocal(input: string): boolean;