/** * useTransformedState is a useState-like hook that always applies a transform function to the value. * The transform is applied to the initial value and every time setState is called. * * @param initialValue - The initial value for the state * * @param transform - The function to transform the value before storing * * @returns [state, setState] */ export declare function useTransformedState(initialValue: T, transform: (value: T) => T): [T, (value: T | ((previous: T) => T)) => void];