export type HtmlLinkSegment = {
type: "text";
content: string;
} | {
type: "link";
label: string;
href: string;
};
export declare const splitHtmlLinkSegments: (input: string) => HtmlLinkSegment[];
export declare const validateLedgerUrl: (href: string) => {
isHttp: boolean;
isAllowedLedgerDomain: boolean;
};
export declare const buildHtmlDisplaySegments: (input: string) => HtmlLinkSegment[];
export declare const useHtmlLinkSegments: (html?: string | null) => {
segments: HtmlLinkSegment[];
hasLinks: boolean;
};
//# sourceMappingURL=useHtmlLinkSegments.d.ts.map