import { StylesContextPerformance } from '@fluentui/react-bindings'; import * as React from 'react'; export declare type TelemetryPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'; export declare type TelemetryTabs = 'telemetry' | 'performance-flags'; export declare type TelemetryTableSort = { column: string; direction: 'asc' | 'desc'; }; export declare type TelemetryTableExpandNames = 'styles' | 'total'; export declare type TelemetryAction = { name: keyof StylesContextPerformance; type: 'SET_PERFORMANCE_FLAG'; value: boolean; } | { type: 'SET_TABLE_EXPAND'; value: boolean; name: TelemetryTableExpandNames; } | { type: 'SET_TABLE_COMPONENT_FILTER'; value: string | undefined; } | { type: 'SET_TABLE_SORT'; value: TelemetryTableSort | undefined; } | { type: 'SET_TELEMETRY_TAB'; tab: TelemetryTabs; } | { type: 'SET_POSITION'; value: TelemetryPosition; } | { type: 'SET_VISIBILITY'; value: boolean; }; export declare type TelemetryState = { activeTab: TelemetryTabs; performanceFlags: StylesContextPerformance; tableComponentFilter: string | undefined; tableSort: TelemetryTableSort | undefined; tableExpand: Record; position: TelemetryPosition; visible: boolean; }; export declare function useTelemetryState(): [TelemetryState, React.Dispatch];