import { unavailableDashboardSummary, type DashboardSummary } from './dashboard-summary.js'; export type DashboardSummaryEndpointResult = { status: 200; headers: { 'cache-control': 'no-store'; }; body: DashboardSummary; } | { status: 429; headers: { 'cache-control': 'no-store'; 'retry-after': string; }; body: { error: 'rate_limited'; retryAfterSeconds: number; }; } | { status: 503; headers: { 'cache-control': 'no-store'; }; body: ReturnType; }; export interface DashboardSummaryEndpoint { get(input: { authenticated: boolean; }): Promise; } /** * Own the public summary request policy behind one small interface. The live * fleet loader is injected so callers and tests cross the same seam. */ export declare function createDashboardSummaryEndpoint(options: { load: () => Promise; now?: () => number; onError?: (error: unknown) => void; }): DashboardSummaryEndpoint; //# sourceMappingURL=dashboard-summary-endpoint.d.ts.map