export interface WebsiteMetadata {
    url: string;
    siteName: string | null;
    iconUrl: string | null;
}
export interface WebsiteMetadataOptions {
    allowPrivateHosts?: boolean;
    fetchImpl?: (url: string, init?: RequestInit) => Promise<Response>;
}
export declare function parsePublicHttpUrl(value: string, options?: WebsiteMetadataOptions): URL;
export declare function resolveWebsiteMetadata(value: string, options?: WebsiteMetadataOptions): Promise<WebsiteMetadata>;
export declare function fetchWebsiteIcon(value: string, options?: WebsiteMetadataOptions): Promise<{
    contentType: string;
    body: Buffer<ArrayBuffer>;
} | null>;
export declare function __clearWebsiteMetadataCacheForTests(): void;
//# sourceMappingURL=website-metadata.d.ts.map