import { BlockEditProps } from "@wordpress/blocks"; import { ReactElement } from "react"; /** * Gets the sidebar from the parent of a blocks. * * @param props The block props. * @param parents The parents to get the sidebar from. * * @returns The sidebar. */ export default function getParentSidebar(props: BlockEditProps, parents: string[]): ReactElement;