import { ProviderUsage } from '../base/ProviderUsage'; import type { UsagePayload } from '../base/types'; /** * Copilot SDK events carry `outputTokens` on assistant.message and sometimes * a telemetry block with input/context occupancy. Guard every field. */ export declare function extractCopilotUsage(raw: unknown, model?: string | null): UsagePayload | null; export declare class CopilotProviderUsage extends ProviderUsage { readonly family = "copilot"; readonly defaultContextLimit = 128000; extract(raw: unknown, model?: string | null): UsagePayload | null; }