import React from 'react'; export declare const nLatencyBuckets = 6; export declare const latencyBuckets: number[]; export declare const latencyBucket: (value: number) => number; declare type Props = {}; interface State { status: 'unknown' | 'offline' | 'ready'; onReady?: () => void; cells: { color: string; activationId: string; }[]; } /** * @return our fragment spec: an icon, a text container, and onclick * handlers * */ export default class GridWidget extends React.PureComponent { private readonly handler; constructor(props: Props); private dispose; /** Avoid recomputation for a flurry of events */ private last; private debounce; /** Transition to ready status */ private ready; /** * On default events (new tab, tab switch, command execution), we * will update the text element. * */ private update; componentDidMount(): void; componentWillUnmount(): void; private cells; render(): JSX.Element; } export {};