/** * A hook for managing state that can be controlled by props but also overridden locally. * Props always take precedence if they change, but local state can override them temporarily. * * @param propValue - The controlled value from props * @param fallbackValue - Value to use when propValue is null or undefined * * @internal - may change or be removed without a major version bump */ export declare function useControllableState(propValue: T, fallbackValue: D): [T extends NonNullable ? T : D | NonNullable, (value: ((prev: T) => T) | T) => void]; export declare function useControllableState(propValue: T): [T, (value: ((prev: T) => T) | T) => void]; //# sourceMappingURL=useControllableState.d.ts.map