//#region src/remote.d.ts /** * Git remote normalisation, so a `when.remote` pattern compares the same repository whichever way its * URL is written. */ /** * Reduce a git remote to `host/path`, lower case, without scheme, credentials, port, trailing slash * or `.git` suffix: `git@github.com:Org/Repo.git` and `https://github.com/org/repo` both become * `github.com/org/repo`. A local path keeps its leading slash. Already-normalised input is returned * unchanged. * * Credentials are dropped so a token embedded in a URL never reaches a comparison, a log or a trace. */ export declare function normaliseRemote(remote: string): string; //#endregion //# sourceMappingURL=remote.d.mts.map