import { LexicalCommand, LexicalEditor } from 'lexical'; import { type JSX } from 'react'; import { Mode } from './types'; type CommandPayload = { mode?: Mode; }; export declare const INSERT_SUBPAGE_LISTING_COMMAND: LexicalCommand; interface Props { docPostId: string; } export default function SubpageListingPlugin({ docPostId }: Props): JSX.Element | null; export declare const $insertSubpageListing: (editor: LexicalEditor, mode: Mode) => void; export {};