export type SidePanelKey = "info" | "search" | "members" | "media"; interface SidePanelStore { activePanel: SidePanelKey | null; openPanel: (panel: SidePanelKey) => void; /** Closes `panel` only if it is the active one; no argument closes whatever is open. */ closePanel: (panel?: SidePanelKey) => void; togglePanel: (panel: SidePanelKey) => void; } /** Holds the one open desk side panel, so opening one closes the others. */ declare const useSidePanelStore: import("zustand").UseBoundStore>; export default useSidePanelStore; //# sourceMappingURL=sidePanel.d.ts.map