import type { Json } from "@metamask/utils"; import type { RunSagaFunction } from "../../../store/index.cjs"; /** * Get the implementation of the `getSnapState` hook. * * @param runSaga - The function to run a saga outside the usual Redux flow. * @returns The implementation of the `getSnapState` hook. */ export declare function getPermittedGetSnapStateMethodImplementation(runSaga: RunSagaFunction): (encrypted: boolean) => Promise; /** * Get the implementation of the `updateSnapState` hook. * * @param runSaga - The function to run a saga outside the usual Redux flow. * @returns The implementation of the `updateSnapState` hook. */ export declare function getPermittedUpdateSnapStateMethodImplementation(runSaga: RunSagaFunction): (newState: Record, encrypted: boolean) => Promise; /** * Get the implementation of the `clearSnapState` hook. * * @param runSaga - The function to run a saga outside the usual Redux flow. * @returns The implementation of the `clearSnapState` hook. */ export declare function getPermittedClearSnapStateMethodImplementation(runSaga: RunSagaFunction): (encrypted: boolean) => Promise; //# sourceMappingURL=state.d.cts.map