import { Enum } from '../enums'; import { PSObject } from './core'; import { Condition } from './conditions'; export declare const TreeScope: Readonly<{ readonly ANCESTORS_OR_SELF: "ancestors-or-self"; readonly FOLLOWING: "following"; readonly FOLLOWING_SIBLING: "following-sibling"; readonly PRECEDING: "preceding"; readonly PRECEDING_SIBLING: "preceding-sibling"; readonly ANCESTORS: "ancestors"; readonly CHILDREN_OR_SELF: "child-or-self"; readonly CHILDREN: "children"; readonly DESCENDANTS: "descendants"; readonly ELEMENT: "element"; readonly SUBTREE: "subtree"; readonly PARENT: "parent"; }>; export type TreeScope = Enum; export declare const AutomationElementMode: Readonly<{ readonly NONE: "none"; readonly FULL: "full"; }>; export type AutomationElementMode = Enum; export declare class AutomationElement extends PSObject { constructor(command: string); static get automationRoot(): AutomationElement; static get rootElement(): AutomationElement; static get focusedElement(): AutomationElement; findFirst(scope: TreeScope, condition: Condition): AutomationElement; findAll(scope: TreeScope, condition: Condition): AutomationElement; buildGetTagNameCommand(): string; buildGetPropertyCommand(property: string): string; buildGetElementRectCommand(): string; buildSetFocusCommand(): string; buildCommand(): string; } export declare class AutomationElementGroup extends AutomationElement { readonly groups: AutomationElement[]; constructor(...automationElements: AutomationElement[]); findAllGroups(scope: TreeScope, condition: Condition): AutomationElement[]; findFirstGroups(scope: TreeScope, condition: Condition): AutomationElement[]; } export declare class FoundAutomationElement extends AutomationElement { readonly runtimeId: string; constructor(runtimeId: string); buildGetTextCommand(): string; buildInvokeCommand(): string; buildExpandCommand(): string; buildCollapseCommand(): string; buildScrollIntoViewCommand(): string; buildIsMultipleSelectCommand(): string; buildGetSelectionCommand(): string; buildIsSelectedCommand(): string; buildAddToSelectionCommand(): string; buildRemoveFromSelectionCommand(): string; buildSelectCommand(): string; buildToggleCommand(): string; buildSetValueCommand(value: string): string; buildSetRangeValueCommand(value: string): string; buildGetValueCommand(): string; buildGetToggleStateCommand(): string; buildMaximizeCommand(): string; buildMinimizeCommand(): string; buildRestoreCommand(): string; buildCloseCommand(): string; buildMoveCommand(x: number, y: number): string; buildResizeCommand(width: number, height: number): string; buildCommand(): string; } //# sourceMappingURL=elements.d.ts.map