/** @packageDocumentation
 * @module IModelComponents
 */
/// <reference types="react" />
import "./CategoriesTree.scss";
import { IModelConnection, ViewManager, Viewport } from "@itwin/core-frontend";
import { Ruleset } from "@itwin/presentation-common";
import { IPresentationTreeDataProvider } from "@itwin/presentation-components";
import { VisibilityTreeFilterInfo } from "../Common";
import { CategoryVisibilityHandler } from "./CategoryVisibilityHandler";
/**
 * Presentation rules used by ControlledCategoriesTree
 * @internal
 */
export declare const RULESET_CATEGORIES: Ruleset;
/**
 * Properties for the [[CategoryTree]] component
 * @public
 * @deprecated in 3.6. Was moved to `@itwin/tree-widget-react` package.
 */
export interface CategoryTreeProps {
    /** Flag for accommodating all viewports */
    allViewports?: boolean;
    /** Active viewport */
    activeView?: Viewport;
    /**
     * An IModel to pull data from
     */
    iModel: IModelConnection;
    /** Width of the component */
    width: number;
    /** Height of the component */
    height: number;
    /**
     * Information for tree filtering.s
     * @alpha
     */
    filterInfo?: VisibilityTreeFilterInfo;
    /**
     * Callback invoked when tree is filtered.
     */
    onFilterApplied?: (filteredDataProvider: IPresentationTreeDataProvider, matchesCount: number) => void;
    /**
     * Custom category visibility handler to use for testing
     * @internal
     */
    categoryVisibilityHandler?: CategoryVisibilityHandler;
    /**
     * Custom view manager to use for testing
     * @internal
     */
    viewManager?: ViewManager;
}
/**
 * Tree which displays and manages categories contained in an iModel.
 * @public
 * @deprecated in 3.6. Was moved to `@itwin/tree-widget-react` package.
 */
export declare function CategoryTree(props: CategoryTreeProps): JSX.Element;
/**
 * Toggles visibility of categories to show or hide.
 * @alpha
 * @deprecated in 3.6. Was moved to `@itwin/tree-widget-react` package.
 */
export declare function toggleAllCategories(viewManager: ViewManager, imodel: IModelConnection, display: boolean, viewport?: Viewport, forAllViewports?: boolean, filteredProvider?: IPresentationTreeDataProvider): Promise<void>;
/**
 * Gets ids of all categories or categories from filtered data provider.
 * @alpha
 * @deprecated in 3.6. Was moved to `@itwin/tree-widget-react` package.
 */
export declare function getCategories(imodel: IModelConnection, viewport?: Viewport, filteredProvider?: IPresentationTreeDataProvider): Promise<string[]>;
//# sourceMappingURL=CategoriesTree.d.ts.map