import { Popover } from "@wordpress/components"; import { ComponentProps, ComponentType, JSX, ReactNode } from "react"; declare namespace URLPopover { type Props = ComponentProps & { additionalControls?: ReactNode | undefined; /** * Callback used to return the React Elements that will be rendered inside the settings * drawer. When this function is provided, a toggle button will be rendered in the popover * that allows the user to open and close the settings drawer. */ renderSettings?(): JSX.Element; }; } declare const URLPopover: ComponentType; export default URLPopover;