/** * Usage dashboard section for the DeepSeek Harness settings surface. * @module @dsh-usage-meter/usage/client/UsageSection */ import type { InjectFace, PropsLocale, PropsRenderSlots, PropsRuntime } from '@deepseek-ai/dsh-client-ui-slots'; import type { UsageSummary } from '../types.ts'; import { type TooltipProps } from 'recharts'; import { NS, type UsageMeterLocaleKey } from './locales.ts'; /** Registration-side business face: the one fetch the section needs. */ export interface UsageSectionInjected { fetchSummary: () => Promise; } export type UsageSectionProps = PropsRuntime<'settings.section'> & PropsLocale & PropsRenderSlots & InjectFace; type UsageTooltipProps = TooltipProps & { chartLabel: string; models: string[]; }; export declare function UsageTooltip({ active, payload, chartLabel, models, tone }: UsageTooltipProps & { tone?: 'tokens' | 'calls'; }): JSX.Element | null; /** Render one usage dashboard page. */ export declare function UsageSection({ t, fetchSummary }: UsageSectionProps): JSX.Element; export type { UsageMeterLocaleKey }; //# sourceMappingURL=UsageSection.d.ts.map