import type { FeedbackRecord } from "./types.js";
/**
* `url` resolved against `base`, when the result is an http(s) URL. A
* record's `url` is client-supplied: without the scheme allowlist, a crafted
* feedback (`javascript:…`, `data:…`) would turn into a live link.
*/
export declare function parseHttpUrl(url: string, base?: string): URL | null;
/**
* Link that opens a feedback's page with the widget focused on it —
* `?=`, read by the widget's `deepLink` option. Relative record
* URLs (the widget stores `location.pathname` by default) resolve against
* `base`. Null when there is no safe http(s) target.
*/
export declare function buildDeepLink(record: Pick, param: string, base?: string): string | null;