import type { ElementReference } from '@wdio/protocols';
/**
 * Classic element endpoints (find from element, shadow root, execute script)
 * target the session's top-level window. A parallel test runs in its own tab,
 * so while its context store is active they must be replaced by BiDi commands.
 */
export declare function isParallelContextActive(): boolean;
/**
 * Relative XPath (`./x`, `../x`) evaluated from `elementId` in `context`.
 */
export declare function locateRelativeXPath(browser: WebdriverIO.Browser, context: string, elementId: string, expression: string): Promise<ElementReference[]>;
//# sourceMappingURL=locate.d.ts.map