import type { Footnote, FootnoteRef } from './marked/marked-footnotes.js'; import type { StreamdownContext as StreamdownContextContract } from './contracts/streamdown.js'; export { normalizeMermaidControls } from './contracts/streamdown.js'; import { StreamdownParseRuntime, StreamdownRenderRuntime, StreamdownSecurityRuntime, StreamdownUiConfigRuntime, type StreamdownRuntimeSections } from './streamdown/runtime.js'; export type { AllowedTags, AnimateOptions, BlockProps, CodeControlsConfig, Components, ControlsConfig, IconMap, LinkSafetyConfig, LinkSafetyModalProps, MermaidControls, MermaidErrorComponentProps, MermaidOptions, NormalizedMermaidControls, ResolvedAnimationConfig, Snippets, StreamdownComponents, StreamdownControlsConfig, StreamdownProps, TableControlsConfig } from './contracts/streamdown.js'; export type { StreamdownParseRuntimeInit, StreamdownSecurityRuntimeInit, StreamdownRenderRuntimeInit, StreamdownUiConfigRuntimeInit, StreamdownRuntimeSections } from './streamdown/runtime.js'; export interface StreamdownContext = Record> extends StreamdownContextContract { } export declare class StreamdownContext = Record> { footnotes: { refs: Map; footnotes: Map; }; isMounted: boolean; readonly parse: StreamdownParseRuntime; readonly security: StreamdownSecurityRuntime; readonly render: StreamdownRenderRuntime; readonly uiConfig: StreamdownUiConfigRuntime; get animationTextStyle(): string | undefined; get animationBlockStyle(): string | undefined; constructor(props: StreamdownRuntimeSections); } export declare const useStreamdown: = Record>() => StreamdownContext; export type StreamdownContextType = StreamdownContext;