export type Routes = { PermissionsPage: undefined CameraPage: undefined MediaPage: { path: string type: 'video' | 'photo' } }