import { type PropsWithChildren } from 'react'; import type { WithChildren } from '../../../core/types/with-children.js'; /** * Slot component that enables the actions menu in the DQLEditor. * * Rendering this component as a child of `DQLEditor` displays a kebab menu * with built-in actions (Copy query, Format query, Open documentation). Custom menu items * can be passed as children and will be rendered between the built-in actions. * @public */ export declare const ActionsMenu: (props: WithChildren) => null; /** * Props for the `ActionsMenuInternal` component. * @internal */ export interface ActionsMenuInternalProps extends PropsWithChildren { /** * Returns the editor's current content, copied to clipboard when the copy action is triggered. */ getValue: () => string; /** * The editor's size variant affecting the trigger button and positioning. */ size: 'default' | 'condensed'; /** * When provided, a "Format query" item is shown in the menu. */ onFormat?: () => void; } /** * Internal component that renders the DQLEditor actions menu. * @internal */ export declare const ActionsMenuInternal: ({ getValue, size, children, onFormat, }: ActionsMenuInternalProps) => import("react/jsx-runtime").JSX.Element;