{
  "classes": [
    {
      "constants": [],
      "types": [
        {
          "lua_type": "type TocEntry = {\n    level: number,\n    id: string,\n    text: string,\n}",
          "name": "TocEntry",
          "tags": [],
          "source": {
            "path": "",
            "line": 12
          },
          "fields": [
            {
              "lua_type": "level: number",
              "name": "level",
              "desc": ""
            },
            {
              "lua_type": "id: string",
              "name": "id",
              "desc": ""
            },
            {
              "lua_type": "text: string",
              "name": "text",
              "desc": ""
            }
          ],
          "desc": ""
        },
        {
          "lua_type": "type MarkdownConfig = types.MarkdownConfig",
          "name": "MarkdownConfig",
          "tags": [],
          "source": {
            "path": "",
            "line": 34
          },
          "fields": [],
          "desc": ""
        }
      ],
      "name": "@eryx/markdown",
      "tags": [],
      "functions": [
        {
          "source": {
            "path": "",
            "line": 116
          },
          "is_method": false,
          "signature": "markdown.parse(source: string, config: MarkdownConfig) → types.DocumentBlockNode",
          "owner": "markdown",
          "desc": "",
          "tags": [],
          "name": "parse",
          "return_str": "types.DocumentBlockNode",
          "function_type": "Function",
          "returns": [
            {
              "lua_type": "types.DocumentBlockNode",
              "desc": ""
            }
          ],
          "params": [
            {
              "lua_type": "string",
              "name": "source",
              "desc": ""
            },
            {
              "lua_type": "MarkdownConfig",
              "name": "config",
              "desc": ""
            }
          ]
        },
        {
          "source": {
            "path": "",
            "line": 121
          },
          "is_method": false,
          "signature": "markdown.toc(doc: types.DocumentBlockNode) → { TocEntry }",
          "owner": "markdown",
          "desc": "",
          "tags": [],
          "name": "toc",
          "return_str": "{ TocEntry }",
          "function_type": "Function",
          "returns": [
            {
              "lua_type": "{ TocEntry }",
              "desc": ""
            }
          ],
          "params": [
            {
              "lua_type": "types.DocumentBlockNode",
              "name": "doc",
              "desc": ""
            }
          ]
        },
        {
          "source": {
            "path": "",
            "line": 135
          },
          "is_method": false,
          "signature": "markdown.renderHtml(doc: types.DocumentBlockNode, config: MarkdownConfig) → string",
          "owner": "markdown",
          "desc": "",
          "tags": [],
          "name": "renderHtml",
          "return_str": "string",
          "function_type": "Function",
          "returns": [
            {
              "lua_type": "string",
              "desc": ""
            }
          ],
          "params": [
            {
              "lua_type": "types.DocumentBlockNode",
              "name": "doc",
              "desc": ""
            },
            {
              "lua_type": "MarkdownConfig",
              "name": "config",
              "desc": ""
            }
          ]
        }
      ],
      "properties": [],
      "source": {
        "path": "",
        "line": 0
      },
      "desc": ""
    },
    {
      "is_primary_export": false,
      "source": {
        "path": "",
        "line": 99
      },
      "tags": [],
      "properties": [
        {
          "tags": [],
          "lua_type": "config: types.MarkdownConfig",
          "name": "config",
          "desc": ""
        }
      ],
      "desc": "",
      "name": "Markdown",
      "functions": [
        {
          "source": {
            "path": "",
            "line": 100
          },
          "is_method": false,
          "signature": "Markdown.new(config: MarkdownConfig) → Markdown",
          "owner": "Markdown",
          "desc": "",
          "tags": [],
          "name": "new",
          "return_str": "Markdown",
          "function_type": "Function",
          "returns": [
            {
              "lua_type": "Markdown",
              "desc": ""
            }
          ],
          "params": [
            {
              "lua_type": "MarkdownConfig",
              "name": "config",
              "desc": ""
            }
          ]
        },
        {
          "source": {
            "path": "",
            "line": 107
          },
          "is_method": true,
          "signature": "Markdown:parse(source: string) → types.DocumentBlockNode",
          "owner": "Markdown",
          "desc": "",
          "tags": [],
          "name": "parse",
          "return_str": "types.DocumentBlockNode",
          "function_type": "Method",
          "returns": [
            {
              "lua_type": "types.DocumentBlockNode",
              "desc": ""
            }
          ],
          "params": [
            {
              "lua_type": "string",
              "name": "source",
              "desc": ""
            }
          ]
        },
        {
          "source": {
            "path": "",
            "line": 111
          },
          "is_method": true,
          "signature": "Markdown:renderHtml(doc: types.DocumentBlockNode) → string",
          "owner": "Markdown",
          "desc": "",
          "tags": [],
          "name": "renderHtml",
          "return_str": "string",
          "function_type": "Method",
          "returns": [
            {
              "lua_type": "string",
              "desc": ""
            }
          ],
          "params": [
            {
              "lua_type": "types.DocumentBlockNode",
              "name": "doc",
              "desc": ""
            }
          ]
        }
      ],
      "metamethods": [],
      "types": []
    }
  ]
}