import { type ReactNode } from 'react'; import type { WithChildren } from '../../../core/types/with-children.js'; import type { EditorActionsMenuConfig } from '../../base-code-editor/actions-menu/EditorActionsMenu.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; /** * Builds the actions menu configuration of the DQLEditor, or `undefined` * when the actions menu is not enabled. * @param enabled - Whether the `DQLEditor.ActionsMenu` slot is present. * @param children - The children of the `DQLEditor.ActionsMenu` slot. * @param onFormat - When provided, a "Format query" item is shown in the menu. * @internal */ export declare function useDqlActionsMenuConfig(enabled: boolean, children: ReactNode, onFormat?: () => void): EditorActionsMenuConfig | undefined; //# sourceMappingURL=ActionsMenu.d.ts.map