Version: 1.0.01.0.11.0.21.1.01.2.01.3.02.0.02.0.12.1.02.1.12.1.22.2.02.3.02.3.12.4.02.5.02.6.02.6.12.6.22.6.32.7.02.8.02.8.12.8.22.9.02.9.12.10.02.11.02.12.02.12.12.13.02.14.02.14.12.15.02.16.02.17.02.18.02.19.02.20.02.20.12.21.03.0.0-beta13.0.0-beta103.0.0-beta113.0.0-beta123.0.0-beta23.0.0-beta33.0.0-beta43.0.0-beta53.0.0-beta63.0.0-beta73.0.0-beta83.0.0-beta93.0.0-rc.03.0.0-rc.13.0.0-rc.23.0.04.0.04.0.14.1.04.1.15.0.0-beta.15.0.05.1.05.2.05.2.15.3.05.3.15.4.0-alpha.05.4.05.4.15.4.25.4.36.0.0-alpha.06.0.0-alpha.16.0.0-alpha.26.0.0-alpha.36.0.0-alpha.46.0.0-beta.56.0.0-beta.66.0.0-rc.76.0.0-rc.86.0.0-rc.96.0.06.0.16.0.26.0.36.0.47.0.07.0.17.0.27.0.3
import type { Documentation } from './Documentation.js';
import type { InternalConfig } from './config.js';
/**
* Takes JavaScript source code and returns an object with the information
* extract from it.
*
* `resolver` is a strategy to find the AST node(s) of the component
* definition(s) inside `src`.
* It is a function that gets passed the program AST node of
* the source as first argument, and a reference to the parser as second argument.
* This allows you define your own strategy for finding component definitions.
* `handlers` is an array of functions which are passed a reference to the
* component definitions (extracted by `resolver`) so that they can extract
* information from it. They get also passed a reference to a `Documentation`
* object to attach the information to. A reference to the parser is parsed as the
* last argument.
*/
export default function parse(code: string, config: InternalConfig): Documentation[];