import React from 'react';
type UseCollapsibleItemsProps<T> = {
    itemsId: string;
    items: T[];
    limit?: number;
};
export declare const CollapsibleItemsProvider: ({ children }: {
    children: any;
}) => React.JSX.Element;
export declare const useCollapsibleItems: <T>({ itemsId, items, limit }: UseCollapsibleItemsProps<T>) => {
    onExpand: () => any;
    itemsToShow: T[];
    collapsedItemsCount: number;
};
export {};
