import { PageSourceElement, PageSourceElementsMap } from '../../../mobile';
import { MobilePlatformEnum } from '@mablhq-internal/runtime/mablApi';
export declare const ANDROID_ROOT_NODE = "hierarchy";
export declare const IOS_ROOT_NODE = "XCUIElementTypeApplication";
export declare function parsePageSource(pageSourceXml: string): PageSourceElementsMap;
export declare function findPageSourceNodesThatCoordinatesIntersect(pageSourceXml: string, x: number, y: number): {
    candidates: PageSourceElement[];
    elementsMap: PageSourceElementsMap;
};
export interface XMLNode extends Document {
    attributes?: {
        [key: string]: {
            ownerDocument: Document[];
            nodeName: string;
            name: string;
            namespaceURI?: string;
            specified: boolean;
            localName: string;
            lineNumber: number;
            columnNumber: number;
            nodeValue: string;
            value: string;
        };
    };
}
export declare function getLimitedPageSource(driver: WebdriverIO.Browser, platform: MobilePlatformEnum): Promise<string>;
//# sourceMappingURL=pageSourceUtil.d.ts.map