import htmlTags from 'html-tags';
import voidHtmlTags from 'html-tags/void';
export declare const VOID_HTML_TAGS: readonly voidHtmlTags.htmlTagsVoid[];
export declare const HTML_TAGS: readonly htmlTags.htmlTags[];
export declare const BLOCK_DOM_PROPERTY = "__MUYA_BLOCK__";
interface ITag {
open: string;
close: string;
}
export declare const FORMAT_MARKER_MAP: Record;
export declare const FORMAT_TAG_MAP: Record;
export declare const FORMAT_TYPES: string[];
export declare const PARAGRAPH_STATE: {
name: string;
text: string;
};
export declare const THEMATIC_BREAK_STATE: {
name: string;
text: string;
};
export declare const EVENT_KEYS: Record;
export declare const CLASS_NAMES: Record;
export declare const PARAGRAPH_TYPES: string[];
export declare const BLOCK_TYPE6: string[];
export declare const BRACKET_HASH: Record;
export declare const BACK_HASH: Record;
export declare const MUYA_DEFAULT_OPTIONS: {
fontSize: number;
lineHeight: number;
focusMode: boolean;
markdown: string;
trimUnnecessaryCodeBlockEmptyLines: boolean;
preferLooseListItem: boolean;
autoPairBracket: boolean;
autoPairMarkdownSyntax: boolean;
autoPairQuote: boolean;
bulletListMarker: string;
orderListDelimiter: string;
tabSize: number;
codeBlockLineNumbers: boolean;
listIndentation: number;
frontmatterType: string;
mermaidTheme: string;
vegaTheme: string;
hideQuickInsertHint: boolean;
hideLinkPopup: boolean;
autoCheck: boolean;
spellcheckEnabled: boolean;
frontMatter: boolean;
superSubScript: boolean;
footnote: boolean;
math: boolean;
isGitlabCompatibilityEnabled: boolean;
autoMoveCheckedToEnd: boolean;
disableHtml: boolean;
locale: {
name: string;
resource: {
'Insert Row Above': string;
'Insert Row Below': string;
'Remove Row': string;
'Align Left': string;
'Align Center': string;
'Align Right': string;
'Insert Column left': string;
'Insert Column right': string;
'Remove Column': string;
Paragraph: string;
'Horizontal Line': string;
'Front Matter': string;
'Header 1': string;
'Header 2': string;
'Header 3': string;
'Header 4': string;
'Header 5': string;
'Header 6': string;
'Table Block': string;
'Display Math': string;
'HTML Block': string;
'Code Block': string;
'Quote Block': string;
'Order List': string;
'Bullet List': string;
'To-do List': string;
'Vega Chart': string;
Mermaid: string;
Plantuml: string;
'basic blocks': string;
headers: string;
'advanced blocks': string;
'list blocks': string;
diagrams: string;
'No result': string;
'Search keyword...': string;
'Type / to insert...': string;
Emphasize: string;
Italic: string;
Underline: string;
Strikethrough: string;
Highlight: string;
'Inline Code': string;
'Inline Math': string;
Link: string;
Image: string;
Eliminate: string;
'Copy content': string;
'Input Language Identifier...': string;
'Smileys & Emotion': string;
'People & Body': string;
'Animals & Nature': string;
'Food & Drink': string;
'Travel & Places': string;
Activities: string;
Objects: string;
Symbols: string;
Flags: string;
Duplicate: string;
'New Paragraph': string;
Delete: string;
'Edit Image': string;
'Inline Image': string;
'Remove Image': string;
'Image src placeholder': string;
'Confirm Text': string;
'Loading...': string;
'Invalid Diagram Code': string;
'Empty Diagram': string;
'Input Mathematical Formula...': string;
'Input Front Matter...': string;
'Invalid Mathematical Formula': string;
'Empty Mathematical Formula': string;
};
};
};
export declare const punctuation: string[];
export declare const IMAGE_EXT_REG: RegExp;
export declare const isFirefox: boolean;
export declare const isOsx: boolean;
export declare const isWin: boolean | "";
export declare const URL_REG: RegExp;
export declare const PREVIEW_DOMPURIFY_CONFIG: {
FORBID_ATTR: string[];
ALLOW_DATA_ATTR: boolean;
USE_PROFILES: {
html: boolean;
svg: boolean;
svgFilters: boolean;
mathMl: boolean;
};
RETURN_TRUSTED_TYPE: boolean;
};
export declare const EXPORT_DOMPURIFY_CONFIG: {
FORBID_ATTR: string[];
ALLOW_DATA_ATTR: boolean;
ADD_ATTR: string[];
USE_PROFILES: {
html: boolean;
svg: boolean;
svgFilters: boolean;
mathMl: boolean;
};
RETURN_TRUSTED_TYPE: boolean;
ALLOWED_URI_REGEXP: RegExp;
};
export declare const DEFAULT_SEARCH_OPTIONS: {
isCaseSensitive: boolean;
isWholeWord: boolean;
isRegexp: boolean;
selectHighlight: boolean;
highlightIndex: number;
};
export declare const LINE_BREAK = "\n";
export declare const DEFAULT_TURNDOWN_CONFIG: {
headingStyle: string;
hr: string;
bulletListMarker: string;
codeBlockStyle: string;
fence: string;
emDelimiter: string;
strongDelimiter: string;
linkStyle: string;
linkReferenceStyle: string;
blankReplacement(_content: unknown, node: any, _options: unknown): string;
};
export {};