UNPKG

ketting

Version:

Opiniated HATEAOS / Rest client.

15 lines (14 loc) 365 B
import { Link } from '../link'; export declare type HtmlForm = { action: string; method: string | null; enctype: string | null; rel: string | null; id: string | null; }; declare type ParseHtmlResult = { links: Link[]; forms: HtmlForm[]; }; export declare function parseHtml(contextUri: string, body: string): ParseHtmlResult; export {};