import { defineWidget } from '../../client/lib/contract/helpers'; import type { WidgetRenderMeta, WidgetStats } from '../../client/lib/contract/types'; /** Peak-pricing card (2×2): which DeepSeek pricing window is live right now. * Value mirrors the cache/tokens card (big bottom-left label): EXPENSIVE while * a peak window is active, CHEAP otherwise. The two windows live under the * title; the active one lights up brand-blue. On a day that is off-peak in full * (weekend / Chinese public holiday — see holidays.ts) the meter shows that * reason instead: no window applies to such a day. The EXPENSIVE escalation is * on the TEXT itself — the value turns red and blinks (valuePulse); the card * frame stays clean (the old red inner glow was removed on request). A preview * can pass meta.sim = { peak, reasonKey?, window? } to force any state. */ declare function peakPricingRender(stats: WidgetStats, meta?: WidgetRenderMeta): ReturnType['render']>>; declare const _default: { id: string; name: () => string; desc: () => string; builtin: false; group: string; simToggle: () => string; render: typeof peakPricingRender; configSchema: ({ key: string; label: () => string; type: "text"; default: string; options?: undefined; } | { key: string; label: () => string; type: "toggle"; default: true; options?: undefined; } | { key: string; label: () => string; type: "mode"; default: string; options: [string, () => string][]; })[]; example: { sim: { peak: boolean; }; simSteps: ({ peak: boolean; reasonKey?: undefined; } | { peak: boolean; reasonKey: string; })[]; }; }; export default _default;