// Type definitions for @dyna-grid/core v1.0.5
// Project: 
// Definitions by: zhangkun <>
import { ICellRendererComp } from "../cellRenderers/iCellRenderer";
import { RowNode } from "../../entities/rowNode";
import { BeanStub } from "../../context/beanStub";
/**
 * For Master Detail, it is required to keep components between expanding & collapsing parents.
 * For example a user expands row A (and shows a detail grid for this row), then when row A
 * is closed, we want to keep the detail grid, so next time row A is expanded the detail grid
 * is showed with it's context intact, eg if user sorted in the detail grid, that sort should
 * still be applied after the detail grid is shown for the second time.
 */
export declare class DetailRowCompCache extends BeanStub {
    private cacheItems;
    private maxCacheSize;
    private active;
    private postConstruct;
    addOrDestroy(rowNode: RowNode, pinned: string | null, comp: ICellRendererComp): void;
    private getCacheItem;
    private stampCacheItem;
    private destroyFullWidthRow;
    private purgeCache;
    get(rowNode: RowNode, pinned: string | null): ICellRendererComp | undefined;
    protected destroy(): void;
}
