/** * `ExternalLinkButton` — an open-link action for a URL the Studio did not author * (a registry homepage, an interaction payload's link). Only an ABSOLUTE * `http(s)` URL is navigable here: every other spelling — another scheme, and a * relative reference, which would be a same-origin in-app navigation the caller * never intended — is NEUTRALIZED into plain text with no anchor and no href. * This is an XSS pin. * * The check and the neutralized rendering are `Button`'s; this module chooses the * stricter of the two link policies rather than re-implementing either. */ import type { ReactNode } from 'react'; export { isSafeHttpUrl } from './primitives'; export interface ExternalLinkButtonProps { readonly url: string; readonly children?: ReactNode; } export declare function ExternalLinkButton({ url, children }: ExternalLinkButtonProps): import("react").JSX.Element; //# sourceMappingURL=external-link.d.ts.map