import { QueuePriority, TableStructure } from '@cubejs-backend/base-driver'; import { DriverFactory } from './DriverFactory'; import { QueryWithParams } from './QueryCache'; import { PreAggregationDescription, TableCacheEntry, VersionEntriesObj } from './PreAggregations'; type PreAggregationLoadCacheOptions = { requestId?: string; dataSource: string; tablePrefixes?: string[]; }; export declare class PreAggregationLoadCache { private readonly driverFactory; private readonly queryCache; private readonly preAggregations; private readonly queryResults; private readonly externalDriverFactory; private readonly requestId; private versionEntries; private tables; private tableColumnTypes; private queryStageState; private readonly dataSource; private readonly tablePrefixes; constructor(clientFactory: DriverFactory, queryCache: any, preAggregations: any, options?: PreAggregationLoadCacheOptions); protected tablesFromCache(preAggregation: any, forceRenew?: boolean): Promise; fetchTables(preAggregation: PreAggregationDescription): Promise; private fetchTablesNoCache; tablesCachePrefixKey(preAggregation: PreAggregationDescription): string; protected getTablesQuery(preAggregation: any): Promise; getTableColumnTypes(preAggregation: PreAggregationDescription, tableName: string): Promise; private calculateVersionEntries; getVersionEntries(preAggregation: any): Promise; keyQueryResult(sqlQuery: QueryWithParams, waitForRenew: boolean, priority: QueuePriority): Promise; hasKeyQueryResult(keyQuery: QueryWithParams): boolean; getQueryStage(stageQueryKey: any): Promise<{ stage: string; timeElapsed: number; } | { stage: string; timeElapsed?: undefined; }>; protected fetchQueryStageState(queue?: any): Promise; reset(preAggregation: any): Promise; } export {}; //# sourceMappingURL=PreAggregationLoadCache.d.ts.map