/**
 * Utility functions for HTML document structure detection and manipulation
 * Used to preserve complete HTML documents with <html>, <head>, <style>, <body> tags
 * when editing in TinyMCE
 */
export interface DocumentMetadata {
    headContent: string;
    htmlAttributes: Record<string, string>;
    hasDocumentStructure: boolean;
}
/**
 * Detects if the given HTML string is a complete HTML document
 * @param html - HTML string to check
 * @returns true if the HTML contains document structure tags
 */
export declare function isCompleteHtmlDocument(html: string): boolean;
/**
 * Extracts document structure metadata from a complete HTML document
 * @param html - Complete HTML document string
 * @returns Object containing body content and metadata
 */
export declare function unwrapDocumentStructure(html: string): {
    bodyContent: string;
    metadata: DocumentMetadata;
};
/**
 * Reconstructs a complete HTML document from body content and metadata
 * @param bodyContent - HTML content for the body
 * @param metadata - Document structure metadata
 * @returns Complete HTML document string
 */
export declare function wrapDocumentStructure(bodyContent: string, metadata: DocumentMetadata): string;
