import { SetStateAction } from 'react'; export declare function useControlledState(value: Exclude, defaultValue: Exclude | undefined, onChange?: (v: C, ...args: any[]) => void): [T, (value: SetStateAction, ...args: any[]) => void]; export declare function useControlledState(value: Exclude | undefined, defaultValue: Exclude, onChange?: (v: C, ...args: any[]) => void): [T, (value: SetStateAction, ...args: any[]) => void];