export type QueueItemType = 'chat_response' | 'image_generation' | 'quality_check' | 'stars_payment' | 'channel_publish' | 'translation';
export type QueueItemStatus = 'pending' | 'processing' | 'completed' | 'failed';
export interface QueueItem {
    id: string;
    type: QueueItemType;
    priority: number;
    status: QueueItemStatus;
    characterId: string;
    payload: Record<string, unknown>;
    retryCount: number;
    maxRetries: number;
    createdAt: string;
    updatedAt: string;
    error?: string;
}
export interface RateLimitConfig {
    openrouter: {
        requestsPerSecond: number;
        requestsPerMinute: number;
    };
    kieApi: {
        requestsPerSecond: number;
        requestsPerMinute: number;
    };
    telegramBotApi: {
        requestsPerSecond: number;
        messagesPerChatPerSecond: number;
    };
}
//# sourceMappingURL=queue.d.ts.map