@plurid/plurid-react
Version:
React implementation of Plurid to explore the web in three dimensions
17 lines (16 loc) • 879 B
TypeScript
import { PayloadAction } from '@reduxjs/toolkit';
import type { AppState } from "../../store";
export interface ShortcutsState {
global: boolean;
}
export declare const shortcuts: import("@reduxjs/toolkit").Slice<ShortcutsState, {
setGlobalShortcuts: (state: import("immer/dist/internal").WritableDraft<ShortcutsState>, action: PayloadAction<boolean>) => void;
}, "shortcuts">;
export declare const actions: import("@reduxjs/toolkit").CaseReducerActions<{
setGlobalShortcuts: (state: import("immer/dist/internal").WritableDraft<ShortcutsState>, action: PayloadAction<boolean>) => void;
}, "shortcuts">;
export declare const getGlobal: (state: AppState) => boolean;
export declare const selectors: {
getGlobal: (state: AppState) => boolean;
};
export declare const reducer: import("@reduxjs/toolkit").Reducer<ShortcutsState, import("@reduxjs/toolkit").AnyAction>;