import { AIProvider } from './ai-config.entity';
export declare enum AIModelType {
    CHAT = "chat",
    COMPLETION = "completion",
    EMBEDDING = "embedding",
    IMAGE = "image"
}
export declare enum UsageStatus {
    PENDING = "pending",
    COMPLETED = "completed",
    FAILED = "failed",
    CANCELLED = "cancelled"
}
export declare class AIUsage {
    id: string;
    tenant_id: string;
    user_id: string;
    provider: AIProvider;
    model: string;
    model_type: AIModelType;
    status: UsageStatus;
    input_tokens: number;
    output_tokens: number;
    get total_tokens(): number;
    cost_input: number;
    cost_output: number;
    get cost_total(): number;
    latency_ms: number;
    started_at: Date;
    completed_at: Date;
    request_id: string;
    endpoint: string;
    error_message: string;
    metadata: Record<string, any>;
    created_at: Date;
}
