import { MetaData, RenderOptions, Series, SRNode, SRParseResult, SRStyleConfig, SRViewerData } from "./types"; /** * Check if a DICOM series is a Structured Report (SR) * @param {Series} serie - The DICOM series object * @return {boolean} - True if the series is an SR */ export declare const isSR: (serie: Series) => boolean; /** * Parse DICOM SR metadata into a structured header and tree representation * @param {MetaData} metadata - The DICOM SR metadata object * @return {SRParseResult} - Object containing header fields and content tree */ export declare const parseSR: (metadata: MetaData) => SRParseResult; /** * This function returns pure data without creating DOM elements * * @param {MetaData} metadata - The DICOM SR metadata * @return {SRViewerData} - Structured data for custom rendering */ export declare const getSRData: (metadata: MetaData) => SRViewerData; /** * Render a complete SR tree as an interactive DOM structure * @param {SRNode[]} tree - Array of root SR nodes * @param {RenderOptions} opts - Rendering options (expandDepth, etc.) * @return {HTMLElement} - The rendered tree as a DOM element */ export declare const renderSRTree: (tree: SRNode[], opts?: RenderOptions) => HTMLElement; /** * @param {MetaData} metadata - The DICOM SR metadata * @param {RenderOptions} opts - Rendering options * @return {HTMLElement} - The complete SR viewer DOM element */ export declare const createSRViewer: (metadata: MetaData, opts?: RenderOptions) => HTMLElement; /** * Mount a complete SR viewer UI into a container element * @param {MetaData} metadata - The DICOM SR metadata * @param {string} containerElementId - The DOM element to mount into * @param {RenderOptions} opts - Rendering options */ export declare const mountSRViewer: (metadata: MetaData, containerElementId: string, opts?: RenderOptions) => void; /** * Inject CSS styles for the SR viewer into the document head * @param {SRStyleConfig} styleConfig - Optional style configuration object */ export declare const injectSRStyles: (styleConfig?: SRStyleConfig) => void; /** * Update existing SR styles without full re-injection * @param {SRStyleConfig} styleConfig - Style configuration to apply */ export declare const updateSRStyles: (styleConfig: SRStyleConfig) => void;