/** * routes/cost.ts * * Handlers for cost.attribution.get + quota.fanout.get over the daemon's * CostAttributionService and QuotaWindowTracker. Registered from * register-gateway-verb-groups.ts (the same composition root that wires * ci/checkin), which also feeds the services from the runtime bus. */ import type { GatewayMethodCatalog } from '../method-catalog.js'; import type { GatewayMethodHandler } from '../method-catalog-shared.js'; import type { CostAttributionService } from '../../runtime/cost/attribution.js'; import type { QuotaWindowTracker } from '../../runtime/cost/quota-window.js'; export declare function createCostAttributionGetHandler(service: Pick): GatewayMethodHandler; export declare function createQuotaFanoutGetHandler(tracker: Pick): GatewayMethodHandler; export declare function createQuotaSnapshotGetHandler(tracker: Pick): GatewayMethodHandler; export interface CostGatewayDeps { readonly costAttribution: Pick; readonly quotaWindow: Pick; } /** Attach the cost.attribution.get + quota.fanout.get + quota.snapshot.get handlers to their descriptors. Missing descriptor is a silent no-op. */ export declare function registerCostGatewayMethods(catalog: GatewayMethodCatalog, deps: CostGatewayDeps): void; //# sourceMappingURL=cost.d.ts.map