type HastElement = { type: "element"; tagName: string; properties?: Record; children: HastChild[]; }; type HastChild = HastElement | { type: string; value?: string; children?: HastChild[]; }; type HastParent = { children?: HastChild[]; }; export declare const STANDALONE_LINK_PROPERTY = "dataOgStandalone"; export declare const STANDALONE_LINK_ATTRIBUTE = "data-og-standalone"; /** The single link a paragraph or list item holds, ignoring whitespace. */ export declare function standaloneLinkOf(container: { children?: HastChild[]; }): HastElement | null; export declare function rehypeStandaloneLinks(): (tree: HastParent) => void; export {};