import type {ArrowFunction} from '@gecut/types';
export type StateManager<STATE_KEYS extends string = string, STATE_FUNC_RETURN = unknown> = Record<
  STATE_KEYS,
  ArrowFunction<STATE_FUNC_RETURN>
>;
export declare function stateManager<T extends StateManager, S extends keyof T>(states: T, state: S): ReturnType<T[S]>;
//# sourceMappingURL=state-manager.d.ts.map
