export declare const shapeName = "TSAiUsageItem";
/**
 * Schema for AI usage item tracking token consumption by service and model.
 * Matches the AiUsageItem type from @takeshape/util.
 */
export declare const schema: {
    readonly title: "TSAiUsageItem";
    readonly type: "object";
    readonly description: "Token usage breakdown for a single service and model";
    readonly properties: {
        readonly service: {
            readonly type: "string";
            readonly description: "The AI service provider (e.g., \"openai\", \"anthropic\")";
        };
        readonly model: {
            readonly type: "string";
            readonly description: "The model identifier (e.g., \"gpt-4\", \"claude-3-opus\")";
        };
        readonly inputTokens: {
            readonly type: "number";
            readonly description: "Number of input/prompt tokens consumed";
        };
        readonly outputTokens: {
            readonly type: "number";
            readonly description: "Number of output/completion tokens generated";
        };
        readonly totalTokens: {
            readonly type: "number";
            readonly description: "Total tokens (input + output)";
        };
        readonly inputTokenDetails: {
            readonly type: "object";
            readonly description: "Detailed breakdown of input token usage";
            readonly properties: {
                readonly noCacheTokens: {
                    readonly type: "number";
                    readonly description: "Tokens not using cache";
                };
                readonly cacheReadTokens: {
                    readonly type: "number";
                    readonly description: "Tokens served from cache";
                };
                readonly cacheWriteTokens: {
                    readonly type: "number";
                    readonly description: "Tokens written to cache";
                };
            };
        };
        readonly outputTokenDetails: {
            readonly type: "object";
            readonly description: "Detailed breakdown of output token usage";
            readonly properties: {
                readonly textTokens: {
                    readonly type: "number";
                    readonly description: "Regular text output tokens";
                };
                readonly reasoningTokens: {
                    readonly type: "number";
                    readonly description: "Extended thinking tokens";
                };
            };
        };
        readonly guardrailUnits: {
            readonly type: "number";
            readonly description: "Number of guardrail units consumed";
        };
    };
    readonly required: ["service", "model"];
    readonly additionalProperties: false;
};
