import type { Profile } from '../../interfaces/profile.interface.js'; import type { IProfilerStorageAdapter } from '../storage-adapter.interface.js'; import type { IndexAttributesProvider, SummaryPrimitive } from '../profile-summary.js'; import type { ProfilerPage, ProfilerQuery } from '../profiler-query.js'; export interface SqliteStorageAdapterOptions { path?: string; url?: string; authToken?: string; maxProfiles?: number; ttl?: number; } export declare class SqliteStorageAdapter implements IProfilerStorageAdapter { readonly crossProcess: boolean; private readonly logger; private readonly client; private readonly maxProfiles; private readonly ttlMs; private readonly localFile; private rowCount; private opsSinceSweep; private getAttributes?; private readonly ready; constructor(options?: SqliteStorageAdapterOptions); setIndexAttributesProvider(provider: IndexAttributesProvider): void; save(profile: Profile): Promise; findOne(token: string): Promise; findAll(): Promise; query(query: ProfilerQuery): Promise; distinct(field: string, typeIn?: string[]): Promise; clear(): Promise; close(): Promise; private configure; private resetIfStaleSchema; private countRows; private minCreatedAt; private evict; private fieldExpr; private criterionSql; private buildWhere; }