/** @packageDocumentation * @module Widget */ import "./Tab.scss"; import * as React from "react"; import type { CommonProps } from "@itwin/core-react"; import type { TabState } from "../state/TabState"; /** @internal */ export interface WidgetTabProviderProps extends TabPositionContextArgs { id: TabState["id"]; showOnlyTabIcon?: boolean; } /** @internal */ export declare function WidgetTabProvider({ id, first, firstInactive, last, showOnlyTabIcon, }: WidgetTabProviderProps): JSX.Element; /** Properties of [[WidgetTab]] component. * @internal */ export interface WidgetTabProps extends CommonProps { badge?: React.ReactNode; } /** Component that displays a tab in a side panel widget. * @internal */ export declare function WidgetTab(props: WidgetTabProps): JSX.Element; /** @internal */ export interface UseTabInteractionsArgs { onClick?: () => void; onDoubleClick?: () => void; onDragStart?: () => void; clickOnly?: boolean; } /** @internal */ export declare function useTabInteractions({ onClick, onDoubleClick, onDragStart, clickOnly, }: UseTabInteractionsArgs): (instance: T | null | undefined) => void; /** @internal */ export interface TabPositionContextArgs { first?: boolean; last?: boolean; firstInactive?: boolean; } /** @internal */ export declare const TabPositionContext: React.Context; /** @internal */ export declare const IconOnlyOnWidgetTabContext: React.Context; //# sourceMappingURL=Tab.d.ts.map