/**
 * Listing URL for `senpi models discover` (senpi#2196): the request keeps the configured URL exactly,
 * while everything printed (reports and errors) uses a display form with the userinfo removed and
 * every query value redacted, because a configured base URL may carry a key.
 */
export interface ListingUrl {
    /** Sent on the wire, unchanged apart from the `/models` path segment. */
    readonly request: string;
    /** Safe to print. */
    readonly display: string;
}
export declare function displayUrl(url: URL): string;
/** `<baseUrl>/models`, or undefined when the base URL does not parse. */
export declare function listingUrl(baseUrl: string): ListingUrl | undefined;
/** An error message with the request URL, and any other userinfo, replaced by safe text. */
export declare function redactUrlInMessage(message: string, url: ListingUrl): string;
//# sourceMappingURL=model-discovery-url.d.ts.map