import type { ContentModelDocument, ContentModelSegmentFormat, DomToModelOptionForSanitizing, TrustedHTMLHandler } from 'roosterjs-content-model-types'; /** * Create Content Model from HTML string * @param html The source HTML string * @param options Options for DOM to Content Model conversion * @param trustedHTMLHandler A string handler to convert string to trusted string * @returns A Content Model Document object that contains the Content Model from the give HTML, or undefined if failed to parse the source HTML */ export declare function createModelFromHtml(html: string, options?: Partial, trustedHTMLHandler?: TrustedHTMLHandler, defaultSegmentFormat?: ContentModelSegmentFormat): ContentModelDocument;