import { StateCreator } from 'zustand'; import { PanelGroupId } from '@perses-dev/core'; import { Middleware } from './common'; import { PanelGroupSlice } from './panel-group-slice'; import { PanelSlice } from './panel-slice'; /** * Slice that handles the visual editor state and related actions for deleting a Panel Group. */ export interface DeletePanelGroupSlice { deletePanelGroupDialog?: DeletePanelGroupDialogState; /** * Delete panel group and all the panels within the group */ deletePanelGroup: (panelGroupId: PanelGroupId) => void; openDeletePanelGroupDialog: (panelGroupId: PanelGroupId) => void; closeDeletePanelGroupDialog: () => void; } export interface DeletePanelGroupDialogState { panelGroupId: PanelGroupId; panelGroupName?: string; } export declare const createDeletePanelGroupSlice: StateCreator; //# sourceMappingURL=delete-panel-group-slice.d.ts.map