import { ConfigService } from './config.service.js';
import { Market } from './polymarket.service.js';
interface CachedMarket {
    condition_id: string;
    question: string;
    description: string;
    category: string;
    end_date_iso: string;
    active: number;
    closed: number;
    yes_token_id: string;
    no_token_id: string;
    yes_outcome: string;
    no_outcome: string;
    cached_at: number;
}
export declare class CacheService {
    private db;
    constructor(configService: ConfigService);
    private initializeSchema;
    isCacheValid(): boolean;
    getCachedMarkets(filter?: string): CachedMarket[];
    cacheMarkets(markets: Market[]): void;
    clearCache(): void;
    getMarketCount(): number;
    getCacheAge(): string | null;
    hasCache(): boolean;
    close(): void;
}
export {};
