Files
Polaris/lib/bare-server-modified/remoteUtil.d.ts
T
2024-01-25 20:46:57 -07:00

10 lines
293 B
TypeScript

export interface BareRemote {
host: string;
port: number | string;
path: string;
protocol: string;
}
export declare function remoteToURL(remote: BareRemote): URL;
export declare function resolvePort(url: URL): number;
export declare function urlToRemote(url: URL): BareRemote;