import type { Root } from "mdast";
import type { Plugin as UnifiedPlugin } from "unified";
/**
 * UnifiedPlugin to replace \<details\> HastElements from tree.
 *
 * @example
 * <details>
 *  <summary>Greetings</summary>
 * <p>Hi</p>
 * </details>
 * // becomes
 * <ac:structured-macro ac:name="expand">
 * <ac:parameter ac:name="title">Greetings</ac:parameter>
 * <ac:rich-text-body><p>Hi</p></ac:rich-text-body>
 * </ac:structured-macro>
 * @throws {InvalidDetailsTagMissingSummaryError} if \<details\> tag does not have a \<summary\> tag
 * @see {@link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details}
 */
declare const rehypeReplaceDetails: UnifiedPlugin<Array<void>, Root>;
export default rehypeReplaceDetails;
