import type{HtmlSanitizer}from'../../internal/optional-peer-capabilities.js';
/** Embedded-markup contexts with different namespace and transclusion constraints. */
export type PassiveMarkupProfile='passive-document'|'transclusion'|'passive-svg';
/**
* Applies the network-silent, non-interactive half of embedded-markup sanitization after the
* required DOMPurify pass. DOMPurify remains the parser/XSS boundary; this second pass narrows
* resource, navigation, form, CSS, shadow-part styling and custom-element sinks according to the
* viewer context.
*/
export declare function sanitizePassiveMarkup(sanitizer:HtmlSanitizer,raw:string,ownerDocument:Document,profile?:PassiveMarkupProfile):string;