import type { WidgetPanel, WidgetPanelTheme } from "./widget-containers.js"; import type { JSX } from 'preact'; import type { Stats } from '@probe.gl/stats'; /** Props for {@link StatsPanel}. */ export type StatsPanelProps = { /** Stable panel id used by parent containers. */ id: string; /** Visible heading text for the panel. */ title: string; /** Probe.gl stats bag rendered by this panel. */ stats: Stats; /** Optional stat names to render and their order. Defaults to all stats in insertion order. */ statNames?: string[]; /** Optional label mapping for displayed stat names. */ labels?: Partial>; /** Optional class name applied to the outer panel content wrapper. */ className?: string; /** Optional theme override applied to this panel subtree. */ theme?: WidgetPanelTheme; }; /** Widget panel that renders a compact table of probe.gl stats. */ export declare class StatsPanel implements WidgetPanel { /** Stable panel id used by parent containers. */ id: string; /** Visible heading text for the panel. */ title: string; /** Optional theme override applied to this panel subtree. */ theme?: WidgetPanelTheme; /** Rendered Preact content for this panel. */ content: JSX.Element; /** Creates a stats panel for one probe.gl {@link Stats} bag. */ constructor(props: StatsPanelProps); } //# sourceMappingURL=stats-panel.d.ts.map