import React from 'react';
export declare type Node = {
    children?: Node[];
    key: string;
    parentId: string;
    name: string;
    url: string;
};
export declare type UseListingCategoriesResult = {
    data: Node[] | null;
    isLoading: boolean;
    currentCategory: string;
};
export declare function ListingCategoriesProvider({ children, }: {
    children: React.ReactNode;
}): JSX.Element;
export declare const useListingCategories: () => UseListingCategoriesResult;
