import { AnyAction, Slice } from "@reduxjs/toolkit"; import { Reducer } from "react"; type OverrideableStateWithArray = V[] & { $override?: V[]; }; /** * A higher order reducer that supports slices which consist only of an array of values (such as inputs), and allows * overriding individual values in the inputs array. This can be useful during development to simulate inputs from GBC * rather than rely on physical inputs. */ export declare const overrideable: (slice: Slice>) => Reducer, AnyAction>; export declare function createOverrideSetAction(slice: Slice>, index: number, value: V): { type: string; payload: { index: number; value: V; }; }; export declare function createOverrideClearAction(slice: Slice>): { type: string; payload: {}; }; export {};