import { State, Callable } from "./state"; type Effect = (this: State) => void | VoidFunction | Promise; declare function createEffect(setEffects: (state: State, cb: Callable) => void): (callback: Effect, values?: readonly unknown[] | undefined) => void; export { createEffect };