/// /*! * Copyright (c) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE file in the project. */ import type { Category, FieldMetadata } from '@datashaper/schema'; import type { ICalloutProps } from '@fluentui/react'; import type { Dimensions } from './types.js'; export declare function useCategories(stats?: FieldMetadata, categorical?: boolean): Category[]; export declare function useTooltip(categories: Category[]): string; export declare function useLegend(categories: Category[]): string[]; export declare function useHandleBarHoverHandler(legend: string[], setId: (id: string | undefined) => void, setHover: (target: string | undefined) => void): (e: MouseEvent) => void; export declare function useStyles(dimensions: Dimensions, hasOnClickHandler: boolean): React.CSSProperties; export declare function useCalloutProps(id: string | undefined): ICalloutProps;