UNPKG

@tresjs/leches

Version:

Tasty GUI for Vue controls 🍰

25 lines (24 loc) 704 B
import { Ref } from 'vue'; import { LechesControlUnion } from '../types'; export declare const CONTROLS_CONTEXT_KEY: unique symbol; export declare const useControlsStore: () => { store: { [uuid: string]: Record<string, LechesControlUnion>; }; triggers: { [uuid: string]: number; }; }; export declare function useControlsProvider(uuid?: string): Record<string, LechesControlUnion>; export declare const dispose: (uuid?: string) => void; export declare const useControls: (folderNameOrParams: string | { [key: string]: any; }, paramsOrOptions?: { [key: string]: any; } | { uuid?: string; }, options?: { uuid?: string; }) => { [key: string]: Ref<any>; };