@e280/quay
Version:
File-browser and outliner UI for the web
12 lines (11 loc) • 320 B
TypeScript
import { Group } from "./group.js";
/**
* Quay's global state
* - manages groups
* - each group is a different hierarchy, which can have unique types and stuff
*/
export declare class Brain {
#private;
setGroup<G extends Group>(name: string, group: G): G;
getGroup<G extends Group>(name: string): G;
}