# Copyright (c) 2026 Chris Pressey, Cat's Eye Technologies
# This file is distributed under an MIT license. See LICENSES/ directory.
# SPDX-License-Identifier: LicenseRef-MIT-X-Feedmark
from typing import Any, Collection, Mapping
from marko.block import LinkRefDefs
from feedmark.checkers import Schema
from feedmark.models import Document
def remove_outer_p(html: str) -> str: ...
def markdown_to_html5(text: str, link_ref_defs: LinkRefDefs | None = None) -> str: ...
def markdown_to_html5_deep(
obj: Any, *, link_ref_defs: LinkRefDefs | None = None
) -> Any: ...
def markdownize_properties(
properties: Mapping[str, str | list[str]],
property_priority_order: Collection[str],
) -> str: ...
def markdownize_link_ref_defs(link_ref_defs: LinkRefDefs | None) -> str: ...
def feedmark_markdownize(document: Document, schema: Schema | None = None) -> str: ...
def feedmark_htmlize(document: Document, schema: Schema | None = None) -> str: ...