/// import { UI5DataResult, UI5DataCallback } from "./ui5Selector"; import { ui5AssertDef, ui5AssertOperator, ui5AssertOperatorVisible, ui5AssertOperatorExists } from "./ui5Asserts"; export declare enum ui5SACWidgetType { Chart = 1, Table = 2, Text = 3 } export declare abstract class UI5StepBaseLib { abstract data(f?: UI5DataCallback): Promise; abstract dataSync(f?: UI5DataCallback): Promise; abstract format(): string; } export declare abstract class UI5BaseBuilderIntf { protected _id: any; protected _domQuery: string; protected _name: string; protected _timeout?: number; protected _hasTimeout: boolean; protected _trace: boolean; protected _sBasisObj: string; } export declare class UI5AnyValueBuilder implements UI5StepBaseLib { _value: any; format(): string; data(f?: UI5DataCallback): Promise; dataSync(f?: UI5DataCallback): Promise; constructor(val: any); } export declare abstract class UI5ParentBuilder> extends UI5BaseBuilderIntf { protected abstract getThisPointer(): B; abstract clone(): B; protected thisPointer: B; constructor(chain?: any); /** elements */ button(): B; link(): B; text(): B; dialog(): B; input(): B; multiInput(): B; listItem(): B; genericTile(): B; coreItem(): UI5CoreItemSelection; objectAttribute(): UI5ObjectAttributeSelection; comboBox(): UI5ComboBoxChainSelection; list(): UI5ListChainSelection; messageToast(): UI5MessageToast; component(component: string): B; element(sElement: string | string[]): B; interactable(): B; id(id: string): B; /** attributes */ bindingContextPath(modelName: string | any, path: string): B; bindingPath(attribute: string, path: string): B; protected _isObject(item: any): any; protected _mergeDeep(target: any, ...sources: any): any; labelProperty(propertyName: string, propertyValue: any): B; labelTextBinding(bindingPath: string): B; protected _enhanceWith(id: any, enhanceWith: any): any; property(propertyName: string, propertyValue: any): B; context(path: string, value: any): B; cssValue(cssAttribute: string, value: string): B; positionInAggregation(position: number): B; parentAggregation(name: string): B; textBundle(name: string): B; tooltipBundle(name: string): B; styleClass(styleClass: string): B; customData(id: string, value?: string): B; localViewName(viewName: string): B; sac(): UI5SACWidgetChainSelection; } export declare abstract class UI5BaseBuilder> extends UI5ParentBuilder { itemdata(itemPropertyName: string, itemPropertyValue: any): B; actionDescription(actionDescr: string): B; scrollToInTable(): B; parentId(id: string): B; parentProperty(name: string, value: any): B; parentElementName(elem: string): B; enhancedData(custData: any): B; childWithId(id: string): B; tableRow(): UI5TableRowChainSelection; childWithClassName(className: string): B; childWithProperty(propertyName: string, propertyValue: any): B; childrenCount(cnt: number, className?: string): B; domChildWith(sDomWith: string): B; row(tableRow?: number): B; column(tableCol?: number): B; columnDescr(tableCol: string): B; columnId(tableCol: string): B; insideATable(tableRow?: number, tableCol?: number): B; selectAll(): B; fnData(fnEnhance: (ui5Element: any, retData: UI5DataResult) => any): B; fnSelect(fnCheck: (ui5Element: any, selDef?: UI5DataResult, getElemInfo?: () => UI5DataResult) => boolean): B; parent(parent: UI5ParentSelection): B; child(child: UI5ChildSelection): B; domQuery(id: string): B; timeout(iTimeout: number): B; hasOwnTimeout(): boolean; name(id: string): B; format(): string; private getEnhanceFunction; /** actions */ data(f?: UI5DataCallback): Promise; dataSync(f?: UI5DataCallback): Promise; /** expects */ expectProperty(property: string): ui5AssertOperator; expectVisible(bExpectInteractable?: boolean): ui5AssertOperatorVisible; expectExists(): ui5AssertOperatorExists; expectDynamic(prop: (e: UI5DataResult) => any): ui5AssertOperator; expect(): ui5AssertDef; /** helpers.. */ build(bInteractRequired?: boolean, timeout?: number): Selector; trace(): B; isTraced(): boolean; } export declare class UI5ParentSelection extends UI5ParentBuilder { getThisPointer(): UI5ParentSelection; clone(): UI5ParentSelection; } export declare class UI5ChildSelection extends UI5ParentBuilder { getThisPointer(): UI5ChildSelection; clone(): UI5ChildSelection; } export declare class UI5ChainSelection extends UI5BaseBuilder { clone(): UI5ChainSelection; getThisPointer(): UI5ChainSelection; } export declare class UI5MessageToast extends UI5BaseBuilder { private _text; getThisPointer(): UI5MessageToast; format(): string; clone(): UI5MessageToast; withText(txt: string): UI5ChainSelection; build(): Selector; } export declare class UI5CoreItemSelection extends UI5BaseBuilder { getThisPointer(): UI5CoreItemSelection; clone(): UI5CoreItemSelection; key(key: string): UI5CoreItemSelection; } export declare class UI5SACWidgetChainSelection extends UI5BaseBuilder { getThisPointer(): UI5SACWidgetChainSelection; widgetChart(): UI5SACWidgetChartChainSelection; widgetTable(): UI5SACWidgetTableChainSelection; clone(): UI5SACWidgetChainSelection; widgetType(widgetType: ui5SACWidgetType): UI5SACWidgetChainSelection; widgetId(id: string): UI5SACWidgetChainSelection; filterPopupItem(text: string): UI5SACWidgetChainSelection; } export declare class UI5SACWidgetTableChainSelection extends UI5SACWidgetChainSelection { dataPoint(x: number, y: number): UI5SACWidgetTableChainSelection; } export declare class UI5SACWidgetChartChainSelection extends UI5SACWidgetChainSelection { dataPoint(x: number, y: number): UI5SACWidgetChartChainSelection; chartTitle(title: string): UI5SACWidgetChartChainSelection; chartSubTitle(subTitle: string): UI5SACWidgetChartChainSelection; chartType(type: string): UI5SACWidgetChartChainSelection; chartDataLabelVisible(dataLabelVisible: boolean): UI5SACWidgetChartChainSelection; } export declare class UI5ComboBoxChainSelection extends UI5BaseBuilder { getThisPointer(): UI5ComboBoxChainSelection; arrow(): UI5ComboBoxChainSelection; clone(): UI5ComboBoxChainSelection; item(key: string): UI5CoreItemSelection; } export declare class UI5ListChainSelection extends UI5BaseBuilder { getThisPointer(): UI5ListChainSelection; clone(): UI5ListChainSelection; } export declare class UI5TableRowChainSelection extends UI5BaseBuilder { getThisPointer(): UI5TableRowChainSelection; col0(): UI5TableRowChainSelection; clone(): UI5TableRowChainSelection; } export declare class UI5ObjectAttributeSelection extends UI5BaseBuilder { getThisPointer(): UI5ObjectAttributeSelection; inList(listId: string): UI5ObjectAttributeSelection; clone(): UI5ObjectAttributeSelection; withText(text: string): UI5ObjectAttributeSelection; } export declare function ui5(oChain?: UI5ChainSelection | string): UI5ChainSelection; export declare function ui5Child(): UI5ChildSelection; export declare function ui5Parent(): UI5ParentSelection;