export interface CacheBudgets { readonly exactBudgetBytes: number; readonly previewBudgetBytes: number; } /** * Sizes both cache tiers to the device's reported RAM and the frame size. * * The exact tier holds a working set the access pattern fixes in frames, the * scrub prefetch window, so its slot floor survives any frame size and the RAM * band adds speculative slots on top only while a slot stays cheap. An 8MP * source lands on the floor and keeps nothing speculative, which is what holds * its resident footprint down. The preview tier's byte ceiling depends on * device memory; FrameCache derives its slot count from the actual raster size. */ export declare function resolveCacheBudgets(decodeWidth: number, decodeHeight: number): CacheBudgets;