import { Accessor } from "solid-js"; export interface UseControlledProps { /** * Holds the component value when it's controlled. */ controlled: Accessor; /** * The default value when uncontrolled. */ default: Accessor; /** * The component name displayed in warnings. */ name: string; /** * The name of the state variable displayed in warnings. */ state?: string; } export default function useControlled(props: UseControlledProps): readonly [Accessor, (newValue: T) => void]; //# sourceMappingURL=useControlled.d.ts.map