import type { ReadOnlyState, ValueState } from './types';
export { createMixedState };
/**
* Creates a mixed state that combines multiple states into a tuple.
*
* If one of the states is changed, the mixed state will be updated.
*
* @param states - Array of states to combine
* @returns A new state that provides all values as a tuple
*
* @example
* const mixedState = createMixedState(states.addLoading, states.copyLoading, state.agent)
*
*
* {[addLoading, copyLoading, agent] => }
*
*/
declare function createMixedState(...states: {
[K in keyof T]-?: ValueState;
}): ReadOnlyState;