interface MarkdownExportMenuProps { /** Builds the Markdown string for the whole document, given `deref` (from * this component's own document context — Layout renders this as a *child* * of the provider, so it can't read context itself). Called lazily, only * when a menu item is clicked — serialization isn't free for large * documents, so it shouldn't run on every render/open. */ serialize: (deref: (ref: string) => unknown) => string; onOpenChange?: (isOpen: boolean) => void; } export default function MarkdownExportMenu({ serialize, onOpenChange, }: MarkdownExportMenuProps): import("react").JSX.Element; export {};