function withStorageValidatorimport { withStorageValidator } from "https://dotland.deno.dev/x/jotai@v2.8.4/src/vanilla/utils/atomWithStorage.ts"; withStorageValidator<Value>(validator: (value: unknown) => value is Value): { (storage: AsyncStorage<unknown>): AsyncStorage<Value>; (storage: SyncStorage<unknown>): SyncStorage<Value>; }Type ParametersValueParametersvalidator: (value: unknown) => value is ValueReturns{ (storage: AsyncStorage<unknown>): AsyncStorage<Value>; (storage: SyncStorage<unknown>): SyncStorage<Value>; }