File size: 778 Bytes
fea495a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { type Dispatch, type SetStateAction } from 'react';
export type PanelStateKind = 'preferences' | 'route-type' | 'segment-explorer' | 'panel-selector' | 'turbo-info';
export declare const PanelRouterContext: import("react").Context<{
    panel: PanelStateKind | null;
    setPanel: Dispatch<SetStateAction<PanelStateKind | null>>;
    triggerRef: React.RefObject<HTMLButtonElement | null>;
    selectedIndex: number;
    setSelectedIndex: Dispatch<SetStateAction<number>>;
}>;
export declare const usePanelRouterContext: () => {
    panel: PanelStateKind | null;
    setPanel: Dispatch<SetStateAction<PanelStateKind | null>>;
    triggerRef: React.RefObject<HTMLButtonElement | null>;
    selectedIndex: number;
    setSelectedIndex: Dispatch<SetStateAction<number>>;
};