UNPKG

@excalidraw/excalidraw

Version:
22 lines (21 loc) 844 B
import React from "react"; import tunnel from "tunnel-rat"; import { createIsolation } from "jotai-scope"; export type Tunnel = ReturnType<typeof tunnel>; type TunnelsContextValue = { MainMenuTunnel: Tunnel; WelcomeScreenMenuHintTunnel: Tunnel; WelcomeScreenToolbarHintTunnel: Tunnel; WelcomeScreenHelpHintTunnel: Tunnel; WelcomeScreenCenterTunnel: Tunnel; FooterCenterTunnel: Tunnel; DefaultSidebarTriggerTunnel: Tunnel; DefaultSidebarTabTriggersTunnel: Tunnel; OverwriteConfirmDialogTunnel: Tunnel; TTDDialogTriggerTunnel: Tunnel; tunnelsJotai: ReturnType<typeof createIsolation>; }; export declare const TunnelsContext: React.Context<TunnelsContextValue>; export declare const useTunnels: () => TunnelsContextValue; export declare const useInitializeTunnels: () => TunnelsContextValue; export {};