@plurid/plurid-react
Version:
React implementation of Plurid to explore the web in three dimensions
17 lines (16 loc) • 1.6 kB
TypeScript
import { AnyAction } from '@reduxjs/toolkit';
import { ThunkDispatch } from 'redux-thunk';
import { TreePlane } from '@plurid/plurid-data';
import { AppState } from "../../state/store";
export declare const factoryUseAnimatedTransform: () => (dispatch: ThunkDispatch<{}, {}, AnyAction>) => void;
export declare const useAnimatedTransform: (dispatch: ThunkDispatch<{}, {}, AnyAction>) => void;
export declare const navigateToPluridPlane: (dispatch: ThunkDispatch<{}, {}, AnyAction>, plane: TreePlane | undefined, event?: React.MouseEvent, deisolate?: boolean) => void;
export declare const getActivePlane: (state: AppState) => TreePlane | undefined;
export declare const focusActivePlane: (dispatch: ThunkDispatch<{}, {}, AnyAction>, state: AppState) => void;
export declare const focusParentActivePlane: (dispatch: ThunkDispatch<{}, {}, AnyAction>, state: AppState) => void;
export declare const findRootIndex: (tree: TreePlane[], activePlaneID: string, currentRootIndex?: number) => number | undefined;
export declare const navigateToRoot: (dispatch: ThunkDispatch<{}, {}, AnyAction>, state: AppState, type: 'previous' | 'next') => void;
export declare const focusPreviousRoot: (dispatch: ThunkDispatch<{}, {}, AnyAction>, state: AppState) => void;
export declare const focusNextRoot: (dispatch: ThunkDispatch<{}, {}, AnyAction>, state: AppState) => void;
export declare const focusRootIndex: (dispatch: ThunkDispatch<{}, {}, AnyAction>, state: AppState, index: number) => void;
export declare const focusRootID: (dispatch: ThunkDispatch<{}, {}, AnyAction>, state: AppState, id: string) => void;