export type AgentStatus = 'idle' | 'pending' | 'running' | 'completed' | 'failed' | 'cancelled';
export declare function isTerminalStatus(status: AgentStatus): boolean;
export interface TokenUsage {
    promptTokens: number;
    completionTokens: number;
    totalTokens: number;
    cachedTokens: number;
    cacheWriteTokens: number;
}
export declare function accumulateTokenUsage(current: TokenUsage, addition: TokenUsage): TokenUsage;
export interface CostInfo {
    inputCostPer1M: number;
    outputCostPer1M: number;
    totalCost: number;
    cacheDiscount: number;
}
export interface PlatformError {
    code: string;
    message: string;
    details?: Record<string, unknown>;
    retryable: boolean;
}
//# sourceMappingURL=index.d.ts.map