import { ITableColumn } from './PageTable/PageTableColumn';
import { ISelected } from './PageTable/useTableItems';
import { IToolbarFilter } from './PageToolbar/PageToolbarFilter';
import { IView } from './useView';
export type IInMemoryView<T extends object> = IView & ISelected<T> & {
    itemCount: number | undefined;
    pageItems: T[] | undefined;
    error: Error | undefined;
};
export declare function useInMemoryView<T extends object>(options: {
    items: T[] | undefined;
    tableColumns?: ITableColumn<T>[];
    toolbarFilters?: IToolbarFilter[];
    disableQueryString?: boolean;
    keyFn: (item: T) => string | number;
    error?: Error;
}): IInMemoryView<T>;
