import PropTypes from 'prop-types'; declare namespace com.trifectalabs.roadquality.v0.enums { type PathType = 'shared' | 'dedicatedLane' | 'bikePath'; type SurfaceType = 'gravel' | 'asphalt' | 'dirt'; type UserRole = 'user' | 'admin'; } declare namespace com.trifectalabs.roadquality.v0.models { interface MapRoute { readonly 'polyline': string; readonly 'distance': number; } interface Point { readonly 'lat': number; readonly 'lng': number; } interface Segment { readonly 'id': string; readonly 'name'?: string; readonly 'description'?: string; readonly 'polyline': string; readonly 'created_by': string; readonly 'hidden': boolean; } interface SegmentCreateForm { readonly 'name'?: string; readonly 'description'?: string; readonly 'polylines': string[]; readonly 'surfaceRating': number; readonly 'trafficRating': number; readonly 'surfaceType': com.trifectalabs.roadquality.v0.enums.SurfaceType; readonly 'pathType': com.trifectalabs.roadquality.v0.enums.PathType; } interface SegmentRating { readonly 'id': string; readonly 'segmentId': string; readonly 'userId': string; readonly 'trafficRating': number; readonly 'surfaceRating': number; readonly 'surfaceType': com.trifectalabs.roadquality.v0.enums.SurfaceType; readonly 'pathType': com.trifectalabs.roadquality.v0.enums.PathType; readonly 'createdAt': string; readonly 'updatedAt': string; readonly 'deletedAt'?: string; } interface SegmentUpdateForm { readonly 'name'?: string; readonly 'description'?: string; readonly 'surfaceRating'?: number; readonly 'trafficRating'?: number; readonly 'surfaceType'?: com.trifectalabs.roadquality.v0.enums.SurfaceType; readonly 'pathType'?: com.trifectalabs.roadquality.v0.enums.PathType; } interface User { readonly 'id': string; readonly 'firstName': string; readonly 'lastName': string; readonly 'email': string; readonly 'city'?: string; readonly 'province'?: string; readonly 'country'?: string; readonly 'birthdate'?: string; readonly 'sex'?: string; readonly 'role': com.trifectalabs.roadquality.v0.enums.UserRole; readonly 'stravaToken': string; readonly 'createdAt': string; readonly 'updatedAt': string; readonly 'deletedAt'?: string; } interface UserUpdateForm { readonly 'birthdate'?: string; readonly 'sex'?: string; } interface VersionInfo { readonly 'name': string; readonly 'version': string; readonly 'scalaVersion': string; readonly 'sbtVersion': string; } } export const pathType: PropTypes.Requireable; export const surfaceType: PropTypes.Requireable; export const userRole: PropTypes.Requireable; export const mapRoute: PropTypes.Requireable; export const point: PropTypes.Requireable; export const segment: PropTypes.Requireable; export const segmentCreateForm: PropTypes.Requireable; export const segmentRating: PropTypes.Requireable; export const segmentUpdateForm: PropTypes.Requireable; export const user: PropTypes.Requireable; export const userUpdateForm: PropTypes.Requireable; export const versionInfo: PropTypes.Requireable;