IFClite TypeScript API
    Preparing search index...

    Type Alias UsageReceipt<Route>

    UsageReceipt: ReceiptBase<Route> & (
        { usageReported: true } & TokenUsage
        | { usageReported: false }
    )

    Counts appear only when the provider reported them; there is no estimate.

    Type Parameters

    • Route extends string = string