import { default as React } from 'react'; import { QueriesControllerState } from '../../../core/queries-controller.js'; interface QueriesContentProps { /** Rendering mode — determines feature set (explain, pagination, grouped). */ mode: 'dashboard' | 'debug'; controllerState: QueriesControllerState; /** Query rows (untyped dashboard rows or typed QueryRecord[]). */ queries: Record[]; /** Pagination metadata (dashboard only). */ meta?: { page: number; lastPage: number; total: number; } | null; isLoading?: boolean; onSearchChange: (search: string) => void; onSort: (key: string) => void; onToggleExpand: (id: number | string) => void; onViewModeChange?: (mode: 'list' | 'grouped') => void; onPageChange?: (page: number) => void; onExplain?: (queryId: number) => void; onCloseExplain?: () => void; summary: React.ReactNode; filterBarChildren?: React.ReactNode; } /** * Shared queries rendering component used by both Dashboard QueriesSection * and DebugPanel QueriesTab. Both modes render the same UI — same columns, * same styles, same DataTable. The only differences: debug mode has no * explain, no pagination, and no grouped view. */ export declare function QueriesContent({ mode, controllerState, queries, meta, isLoading, onSearchChange, onSort, onToggleExpand, onViewModeChange, onPageChange, onExplain, onCloseExplain, summary, filterBarChildren, }: QueriesContentProps): import("react/jsx-runtime").JSX.Element; export default QueriesContent;