import type { PayloadAction } from "@reduxjs/toolkit"; import type { ApplicationState } from "./store.mjs"; import type { JsonRpcMockImplementation } from "../types.mjs"; export type JsonRpcMock = { id: string; implementation: JsonRpcMockImplementation; once?: boolean; }; export type MocksState = { jsonRpc: Record>; }; export declare const mocksSlice: import("@reduxjs/toolkit").Slice, action: PayloadAction) => void; removeJsonRpcMock: (state: import("immer/dist/internal.js").WritableDraft, action: PayloadAction) => void; }, "mocks">; export declare const addJsonRpcMock: import("@reduxjs/toolkit").ActionCreatorWithPayload, removeJsonRpcMock: import("@reduxjs/toolkit").ActionCreatorWithPayload; /** * Get the JSON-RPC mocks from the state. * * @param state - The application state. * @returns The JSON-RPC mocks. */ export declare const getJsonRpcMocks: (state: ApplicationState) => Record>; //# sourceMappingURL=mocks.d.mts.map