/** * The six metric fields every token-usage reporting resource exposes. * * Declared once and spread into all six descriptors (three administrative, * three self-service) so the two surfaces cannot drift apart. Spreading a shared * `fields` object is an established pattern in this codebase — a consuming app's * ExtendedTokenUsageDescriptor already does `fields: { ...TokenUsageDescriptor.fields }`. * * The `as const` is per FIELD, not on the whole object: it pins `type` to a * string literal (which defineEntity needs to infer the entity shape) while * leaving each field object mutable, which a whole-object `as const` would not. */ export declare const usageMetricFields: { cost: { type: "number"; required: boolean; }; credits: { type: "number"; required: boolean; }; tokensIn: { type: "number"; required: boolean; }; tokensOut: { type: "number"; required: boolean; }; cached: { type: "number"; required: boolean; }; calls: { type: "number"; required: boolean; }; }; /** The metric half of every reporting entity type. */ export type UsageMetrics = { cost: number; credits: number; tokensIn: number; tokensOut: number; cached: number; calls: number; }; //# sourceMappingURL=usage-metric.fields.d.ts.map