import type { DatabaseSync } from "node:sqlite";
import type { MemoryId } from "@oscharko-dev/keiko-contracts/memory";
export interface MemoryAccessStat {
    readonly lastAccessedAt: number;
    readonly accessCount: number;
}
export declare function recordAccessRows(db: DatabaseSync, ids: readonly MemoryId[], nowMs: number): void;
export declare function getAccessStatsRows(db: DatabaseSync, ids?: readonly MemoryId[]): ReadonlyMap<MemoryId, MemoryAccessStat>;
//# sourceMappingURL=access.d.ts.map