/** @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): React.JSX.Element;
/** Properties of [[WidgetTab]] component.
 * @internal
 */
export interface WidgetTabProps extends CommonProps {
    badge?: React.ReactNode;
    icon?: React.ReactNode;
}
/** Component that displays a tab in a side panel widget.
 * @internal
 */
export declare function WidgetTab(props: WidgetTabProps): React.JSX.Element;
/** @internal */
export interface UseTabInteractionsArgs {
    onClick?: () => void;
    onDoubleClick?: () => void;
    onDragStart?: () => void;
    clickOnly?: boolean;
}
/** @internal */
export declare function useTabInteractions<T extends HTMLElement>({ 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<TabPositionContextArgs>;
/** @internal */
export declare const IconOnlyOnWidgetTabContext: React.Context<boolean>;
//# sourceMappingURL=Tab.d.ts.map