import { Question } from '@serenity-js/core' ; import { ElementFinder , Locator } from 'protractor' ; export interface TargetBuilder < T > { located ( byLocator ) : T ; } export interface NestedTargetBuilder < T > { of ( parent ) : TargetBuilder < T > ; }