import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';
/**
* This is the base class for oj-c-select-single WebElement, and is generated from the
* component's metadata. Do not modify these contents since they'll be replaced
* during the next generation.
* Put overrides into the WebElements's subclass, SelectSingleWebElement.ts.
*/
export declare class SelectSingleWebElementBase extends OjWebElement {
/**
* Gets the value of addToList property.
* Specifies whether the add to list link is shown in the dropdown when the user filters.
* @return The value of addToList property.
*
*/
getAddToList(): Promise;
/**
* Gets the value of advancedSearch property.
* Specifies whether the advanced search link is shown in the dropdown when the user filters.
* @return The value of advancedSearch property.
*
*/
getAdvancedSearch(): Promise;
/**
* Gets the value of columnSpan property.
* Specifies how many columns this component should span.
* @return The value of columnSpan property.
*
*/
getColumnSpan(): Promise;
/**
* Gets the value of containerReadonly property.
* Specifies whether an ancestor container, like oj-c-form-layout, is readonly.
* @return The value of containerReadonly property.
*
*/
getContainerReadonly(): Promise;
/**
* Gets the value of data property.
* The data source for SelectSingle.
* @return The value of data property.
* @deprecated Since 15.0.0. Data sets from a DataProvider cannot be sent to WebDriverJS; use ViewModels or page variables instead.
*/
getData(): Promise;
/**
* Gets the value of disabled property.
* Specifies whether the component is disabled.
* @return The value of disabled property.
*
*/
getDisabled(): Promise;
/**
* Gets the value of displayOptions property.
* Display options for auxiliary content that determines whether or not it should be displayed.
* @return The value of displayOptions property.
*
*/
getDisplayOptions(): Promise;
/**
* Gets the value of help property.
* Form component help information.
* @return The value of help property.
*
*/
getHelp(): Promise;
/**
* Gets the value of helpHints property.
* The helpHints object contains a definition property and a source property.
* @return The value of helpHints property.
*
*/
getHelpHints(): Promise;
/**
* Gets the value of itemText property.
* Specifies how to get the text string to render for a data item.
* @return The value of itemText property.
*
*/
getItemText(): Promise;
/**
* Gets the value of labelEdge property.
* Specifies how the label is positioned for the component
* @return The value of labelEdge property.
*
*/
getLabelEdge(): Promise;
/**
* Gets the value of labelHint property.
* Represents a hint for rendering a label on the component.
* @return The value of labelHint property.
*
*/
getLabelHint(): Promise;
/**
* Gets the value of labelStartWidth property.
* The width of the label when labelEdge is 'start'
* @return The value of labelStartWidth property.
*
*/
getLabelStartWidth(): Promise;
/**
* Gets the value of labelWrapping property.
* Should the labels wrap or truncate when there is not enough available space.
* @return The value of labelWrapping property.
* @deprecated Since 18.0.0. Label truncation for 'start' and 'top' aligned labels is no longer recommended by the Redwood Design System. The default for labelWrapping was 'wrap' and that is now the only suggested pattern by UX design for 'start' and 'top' aligned labels. 'inside' aligned labels are always truncated per UX design and are not affected by this property's value.
*/
getLabelWrapping(): Promise;
/**
* Gets the value of matchBy property.
* List of text filter matching behaviors to use when filtering.
* @return The value of matchBy property.
*
*/
getMatchBy(): Promise | null>;
/**
* Gets the value of maxWidth property.
* The max width of the control.
* @return The value of maxWidth property.
*
*/
getMaxWidth(): Promise;
/**
* Sets the value of messagesCustom property.
* List of custom component messages
* @param messagesCustom The value to set for messagesCustom
*
*/
changeMessagesCustom(messagesCustom: Array): Promise;
/**
* Gets the value of messagesCustom property.
* List of custom component messages
* @return The value of messagesCustom property.
*
*/
getMessagesCustom(): Promise>;
/**
* Gets the value of placeholder property.
* The placeholder text to set on the element.
* @return The value of placeholder property.
*
*/
getPlaceholder(): Promise;
/**
* Gets the value of readonly property.
* Whether the component is readonly
* @return The value of readonly property.
*
*/
getReadonly(): Promise;
/**
* Gets the value of readonlyUserAssistanceShown property.
* Specifies which user assistance types should be shown when the component is readonly.
* @return The value of readonlyUserAssistanceShown property.
*
*/
getReadonlyUserAssistanceShown(): Promise;
/**
* Gets the value of required property.
* Specifies whether or not the component is required.
* @return The value of required property.
*
*/
getRequired(): Promise;
/**
* Gets the value of requiredMessageDetail property.
* Overrides the default Required error message.
* @return The value of requiredMessageDetail property.
*
*/
getRequiredMessageDetail(): Promise;
/**
* Gets the value of textAlign property.
* Specifies how the text is aligned within the text field
* @return The value of textAlign property.
*
*/
getTextAlign(): Promise;
/**
* Gets the value of userAssistanceDensity property.
* Specifies the density of the form component's user assistance presentation.
* @return The value of userAssistanceDensity property.
*
*/
getUserAssistanceDensity(): Promise;
/**
* Sets the value of value property.
* The value of the component.
* @param value The value to set for value
*
*/
changeValue(value: string | number | null): Promise;
/**
* Gets the value of value property.
* The value of the component.
* @return The value of value property.
*
*/
getValue(): Promise;
/**
* Sets the value of valueItem property.
* The current value of the element and its associated data.
* @param valueItem The value to set for valueItem
*
*/
changeValueItem(valueItem: ValueItem | null): Promise;
/**
* Gets the value of valueItem property.
* The current value of the element and its associated data.
* @return The value of valueItem property.
*
*/
getValueItem(): Promise;
/**
* Gets the value of virtualKeyboard property.
* The type of virtual keyboard to display for entering a value on mobile browsers
* @return The value of virtualKeyboard property.
*
*/
getVirtualKeyboard(): Promise;
/**
* Gets the value of width property.
* The width of the control.
* @return The value of width property.
*
*/
getWidth(): Promise;
/**
* Gets the value of valid property.
* Specifies how the valid state of the component
* @return The value of valid property.
*
*/
getValid(): Promise;
}
export interface DisplayOptions {
/**
*
*/
messages: string;
}
export interface Help {
/**
*
*/
instruction: string;
}
export interface HelpHints {
/**
*
*/
definition: string;
/**
*
*/
source: string;
/**
*
*/
sourceText: string;
}
export interface MessagesCustom {
/**
*
*/
summary: string;
/**
*
*/
detail: string;
/**
*
*/
severity: string;
}
export interface ValueItem {
/**
*
*/
data: any;
/**
*
*/
key: string | number;
/**
*
*/
metadata: ValueItemMetadata;
}
export interface ValueItemMetadata {
/**
*
*/
indexFromParent: number;
/**
*
*/
isLeaf: boolean;
/**
*
*/
key: string | number;
/**
*
*/
message: ValueItemMetadataMessage;
/**
*
*/
parentKey: string | number;
/**
*
*/
suggestion: object;
/**
*
*/
treeDepth: number;
}
export interface ValueItemMetadataMessage {
/**
*
*/
detail: string;
/**
*
*/
severity: string | number;
/**
*
*/
summary: string;
}