import { StateUpdater } from '../types';
/**
 * Wraps an existing function with a state updater
 */
export declare const withStateSynchronization: <S>(stateUpdater: StateUpdater<S>) => <F extends (...args: any[]) => S>(fn: F) => (...args: Parameters<F>) => S;
