///
import { Scene } from "three";
type Tool = {
name: string;
orderIndex: number;
icon?: string;
};
type Direction = "left" | "right" | "up";
type ToolbeltState = {
tools: Tool[];
activeTool?: Tool;
grant: (name: string, icon?: string, orderIndex?: number) => void;
revoke: (name: string) => void;
hide: () => void;
next: () => void;
prev: () => void;
show: () => void;
activeIndex: number | undefined;
setActiveIndex: (i: number | undefined) => void;
setActiveTool: (name: string) => void;
hudScene: Scene;
direction: Direction;
setDirection: (dir: Direction) => void;
};
export declare const ToolbeltContext: import("react").Context;
export declare const useToolbelt: () => ToolbeltState;
export declare const useToolbeltState: (showOnSpawn: boolean) => ToolbeltState;
export {};