#ifndef BASE_JSON_VALUES_UTIL_H_
#define BASE_JSON_VALUES_UTIL_H_
#include <optional>
#include "base/base_export.h"
#include "base/values.h"
namespace base {
class FilePath;
class Time;
class TimeDelta;
class UnguessableToken;
BASE_EXPORT Value Int64ToValue(int64_t integer);
BASE_EXPORT std::optional<int64_t> ValueToInt64(const Value* value);
BASE_EXPORT std::optional<int64_t> ValueToInt64(const Value& value);
BASE_EXPORT Value TimeDeltaToValue(TimeDelta time_delta);
BASE_EXPORT std::optional<TimeDelta> ValueToTimeDelta(const Value* value);
BASE_EXPORT std::optional<TimeDelta> ValueToTimeDelta(const Value& value);
BASE_EXPORT Value TimeToValue(Time time);
BASE_EXPORT std::optional<Time> ValueToTime(const Value* value);
BASE_EXPORT std::optional<Time> ValueToTime(const Value& value);
BASE_EXPORT Value FilePathToValue(FilePath file_path);
BASE_EXPORT std::optional<FilePath> ValueToFilePath(const Value* value);
BASE_EXPORT std::optional<FilePath> ValueToFilePath(const Value& value);
BASE_EXPORT Value UnguessableTokenToValue(UnguessableToken token);
BASE_EXPORT std::optional<UnguessableToken> ValueToUnguessableToken(
const Value* value);
BASE_EXPORT std::optional<UnguessableToken> ValueToUnguessableToken(
const Value& value);
}
#endif