import TrieBranch from "./TrieBranch.ts";
import TrieLeaf from "./TrieLeaf.ts";
import PageCacheStats from "./PageCacheStats.ts";
export interface PageCacheInit {
    readonly maxResident: number;
}
type TriePage = TrieLeaf | TrieBranch;
/**
 * Count-bounded in-memory LRU over persisted trie pages keyed by OID.
 */
export default class PageCache {
    #private;
    constructor(init: PageCacheInit);
    get(oid: string): TriePage | null;
    put(oid: string, page: TriePage): void;
    stats(): PageCacheStats;
}
export {};
