/** * Prefixes the given endpoint with the `defaultProtocol` if one isn't defined already. * * @param endpoint * @param defaultProtocol defaults to "https://" * @returns the endpoint, which will always have a protocol */ export declare function withDefaultProtocol(endpoint: string, defaultProtocol?: string): string; export declare function withDefaultProtocol(endpoint: string | undefined, defaultProtocol?: string): string | undefined; //# sourceMappingURL=withDefaultProtocol.d.ts.map