import { DragdropConfig } from '@forten/dragdrop'; import { LocaleConfig } from '@forten/locale'; import { TreeConfig } from '@forten/tree'; import { IAction, IContext } from 'overmind'; import { FunctionComponent as Comp } from 'react'; import styled from 'styled-components'; import { TreeViewConfig } from './types/index.js'; export { styled, Comp }; export declare function css(strings: TemplateStringsArray, ...values: any[]): string; export declare type Config = TreeViewConfig & TreeConfig & DragdropConfig & LocaleConfig; export declare type Context = IContext; export declare const theme: {}; export declare const useOvermind: () => { state: { treeView: { dropTarget: import("./types/DragDrop.js").DropTargetInfoById; dragTree?: import("@forten/tree-type").TreeType | undefined; library: import("@forten/tree-type").TreeType; uimap: { [key: string]: import("./types/UITreeType.js").UITreeType; }; }; } & { tree: { definitions: () => import("@forten/tree/dist/types").TreeHooks; }; } & { dragdrop: { disableDrop?: boolean | undefined; drag?: import("@forten/dragdrop").DragData | undefined; position: import("@forten/dragdrop").Position; drop?: import("@forten/dragdrop").DropData | undefined; definitions: () => import("@forten/dragdrop").DragdropDefinitions; }; } & { locale: { lang: string; locales: import("@forten/locale").Locales; sources: import("@forten/locale").LocalesByBlock; common: { [keyAndScope: string]: string; }; translate: import("@forten/locale").Translate; }; }; actions: { treeView: { readonly drop: (value: import("./types/DragDrop.js").TreeDrag & import("./types/DragDrop.js").TreeDrop) => void; readonly navigateLibrary: (value: import("./actions/navigateLibrary.js").LibSelectArg) => void; readonly uimap: (value: { tree: import("@forten/tree-type").TreeType; }) => void; readonly clearUimap: (value: { tree: import("@forten/tree-type").TreeType; }) => void; }; tree: { readonly add: (value: import("@forten/tree/dist/actions").AddArg) => void; readonly append: (value: import("@forten/tree/dist/actions").AppendArg) => void; readonly changed: (value: import("@forten/tree/dist/actions").TreeChangedArg) => void; readonly remove: (value: import("@forten/tree/dist/actions").RemoveArg) => void; readonly selectBlock: (value: import("@forten/tree/dist/actions").selectBlockArg) => void; readonly setClosed: (value: import("@forten/tree/dist/actions").SetClosedArg) => void; readonly setContent: (value: import("@forten/tree/dist/actions").SetContentArg) => void; readonly setName: (value: import("@forten/tree/dist/actions").SetNameArg) => void; }; dragdrop: { readonly enter: (value: import("@forten/dragdrop/dist/actions").EnterArg) => void; readonly leave: () => void; readonly move: (value: import("@forten/dragdrop/dist/actions").MoveArg) => void; readonly release: () => void; readonly start: (value: import("@forten/dragdrop/dist/actions").StartArg) => void; }; hooks: { locale_set: (value: { lang: string; }) => Promise; }; locale: { readonly print: () => void; readonly printMissing: (value: string) => void; readonly set: (value: string) => void; }; }; effects: {}; addMutationListener: (cb: import("proxy-state-tree").IMutationCallback) => () => void; reaction: import("overmind").IReaction; }; export declare type Action = IAction;