import { ElementWrapper } from '@cloudscape-design/test-utils-core/dom'; export { ElementWrapper }; import ActionCardWrapper from './action-card'; import AlertWrapper from './alert'; import AnchorNavigationWrapper from './anchor-navigation'; import AnnotationWrapper from './annotation'; import AppLayoutWrapper from './app-layout'; import AppLayoutToolbarWrapper from './app-layout-toolbar'; import AreaChartWrapper from './area-chart'; import AttributeEditorWrapper from './attribute-editor'; import AutosuggestWrapper from './autosuggest'; import BadgeWrapper from './badge'; import BarChartWrapper from './bar-chart'; import BoxWrapper from './box'; import BreadcrumbGroupWrapper from './breadcrumb-group'; import ButtonWrapper from './button'; import ButtonDropdownWrapper from './button-dropdown'; import ButtonGroupWrapper from './button-group'; import CalendarWrapper from './calendar'; import CardsWrapper from './cards'; import CheckboxWrapper from './checkbox'; import CodeEditorWrapper from './code-editor'; import CollectionPreferencesWrapper from './collection-preferences'; import ColumnLayoutWrapper from './column-layout'; import ContainerWrapper from './container'; import ContentLayoutWrapper from './content-layout'; import CopyToClipboardWrapper from './copy-to-clipboard'; import DateInputWrapper from './date-input'; import DatePickerWrapper from './date-picker'; import DateRangePickerWrapper from './date-range-picker'; import DrawerWrapper from './drawer'; import DropdownWrapper from './dropdown'; import ErrorBoundaryWrapper from './error-boundary'; import ExpandableSectionWrapper from './expandable-section'; import FileDropzoneWrapper from './file-dropzone'; import FileInputWrapper from './file-input'; import FileTokenGroupWrapper from './file-token-group'; import FileUploadWrapper from './file-upload'; import FlashbarWrapper from './flashbar'; import FormWrapper from './form'; import FormFieldWrapper from './form-field'; import GridWrapper from './grid'; import HeaderWrapper from './header'; import HelpPanelWrapper from './help-panel'; import HotspotWrapper from './hotspot'; import IconWrapper from './icon'; import InputWrapper from './input'; import ItemCardWrapper from './item-card'; import KeyValuePairsWrapper from './key-value-pairs'; import LineChartWrapper from './line-chart'; import LinkWrapper from './link'; import ListWrapper from './list'; import LiveRegionWrapper from './live-region'; import MixedLineBarChartWrapper from './mixed-line-bar-chart'; import ModalWrapper from './modal'; import MultiselectWrapper from './multiselect'; import NavigableGroupWrapper from './navigable-group'; import PaginationWrapper from './pagination'; import PanelLayoutWrapper from './panel-layout'; import PieChartWrapper from './pie-chart'; import PopoverWrapper from './popover'; import ProgressBarWrapper from './progress-bar'; import PromptInputWrapper from './prompt-input'; import PropertyFilterWrapper from './property-filter'; import RadioButtonWrapper from './radio-button'; import RadioGroupWrapper from './radio-group'; import S3ResourceSelectorWrapper from './s3-resource-selector'; import SegmentedControlWrapper from './segmented-control'; import SelectWrapper from './select'; import SideNavigationWrapper from './side-navigation'; import SliderWrapper from './slider'; import SpaceBetweenWrapper from './space-between'; import SpinnerWrapper from './spinner'; import SplitPanelWrapper from './split-panel'; import StatusIndicatorWrapper from './status-indicator'; import StepsWrapper from './steps'; import TableWrapper from './table'; import TabsWrapper from './tabs'; import TagEditorWrapper from './tag-editor'; import TextContentWrapper from './text-content'; import TextFilterWrapper from './text-filter'; import TextareaWrapper from './textarea'; import TilesWrapper from './tiles'; import TimeInputWrapper from './time-input'; import ToggleWrapper from './toggle'; import ToggleButtonWrapper from './toggle-button'; import TokenWrapper from './token'; import TokenGroupWrapper from './token-group'; import TooltipWrapper from './tooltip'; import TopNavigationWrapper from './top-navigation'; import TreeViewWrapper from './tree-view'; import TutorialPanelWrapper from './tutorial-panel'; import WizardWrapper from './wizard'; export { ActionCardWrapper }; export { AlertWrapper }; export { AnchorNavigationWrapper }; export { AnnotationWrapper }; export { AppLayoutWrapper }; export { AppLayoutToolbarWrapper }; export { AreaChartWrapper }; export { AttributeEditorWrapper }; export { AutosuggestWrapper }; export { BadgeWrapper }; export { BarChartWrapper }; export { BoxWrapper }; export { BreadcrumbGroupWrapper }; export { ButtonWrapper }; export { ButtonDropdownWrapper }; export { ButtonGroupWrapper }; export { CalendarWrapper }; export { CardsWrapper }; export { CheckboxWrapper }; export { CodeEditorWrapper }; export { CollectionPreferencesWrapper }; export { ColumnLayoutWrapper }; export { ContainerWrapper }; export { ContentLayoutWrapper }; export { CopyToClipboardWrapper }; export { DateInputWrapper }; export { DatePickerWrapper }; export { DateRangePickerWrapper }; export { DrawerWrapper }; export { DropdownWrapper }; export { ErrorBoundaryWrapper }; export { ExpandableSectionWrapper }; export { FileDropzoneWrapper }; export { FileInputWrapper }; export { FileTokenGroupWrapper }; export { FileUploadWrapper }; export { FlashbarWrapper }; export { FormWrapper }; export { FormFieldWrapper }; export { GridWrapper }; export { HeaderWrapper }; export { HelpPanelWrapper }; export { HotspotWrapper }; export { IconWrapper }; export { InputWrapper }; export { ItemCardWrapper }; export { KeyValuePairsWrapper }; export { LineChartWrapper }; export { LinkWrapper }; export { ListWrapper }; export { LiveRegionWrapper }; export { MixedLineBarChartWrapper }; export { ModalWrapper }; export { MultiselectWrapper }; export { NavigableGroupWrapper }; export { PaginationWrapper }; export { PanelLayoutWrapper }; export { PieChartWrapper }; export { PopoverWrapper }; export { ProgressBarWrapper }; export { PromptInputWrapper }; export { PropertyFilterWrapper }; export { RadioButtonWrapper }; export { RadioGroupWrapper }; export { S3ResourceSelectorWrapper }; export { SegmentedControlWrapper }; export { SelectWrapper }; export { SideNavigationWrapper }; export { SliderWrapper }; export { SpaceBetweenWrapper }; export { SpinnerWrapper }; export { SplitPanelWrapper }; export { StatusIndicatorWrapper }; export { StepsWrapper }; export { TableWrapper }; export { TabsWrapper }; export { TagEditorWrapper }; export { TextContentWrapper }; export { TextFilterWrapper }; export { TextareaWrapper }; export { TilesWrapper }; export { TimeInputWrapper }; export { ToggleWrapper }; export { ToggleButtonWrapper }; export { TokenWrapper }; export { TokenGroupWrapper }; export { TooltipWrapper }; export { TopNavigationWrapper }; export { TreeViewWrapper }; export { TutorialPanelWrapper }; export { WizardWrapper }; declare module '@cloudscape-design/test-utils-core/dist/dom' { interface ElementWrapper { /** * Returns the wrapper of the first ActionCard that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first ActionCard. * If no matching ActionCard is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ActionCardWrapper | null} */ findActionCard(selector?: string): ActionCardWrapper | null; /** * Returns an array of ActionCard wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the ActionCards inside the current wrapper. * If no matching ActionCard is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllActionCards(selector?: string): Array; /** * Returns the wrapper of the closest parent ActionCard for the current element, * or the element itself if it is an instance of ActionCard. * If no ActionCard is found, returns `null`. * * @returns {ActionCardWrapper | null} */ findClosestActionCard(): ActionCardWrapper | null; /** * Returns the wrapper of the first Alert that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Alert. * If no matching Alert is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {AlertWrapper | null} */ findAlert(selector?: string): AlertWrapper | null; /** * Returns an array of Alert wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Alerts inside the current wrapper. * If no matching Alert is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllAlerts(selector?: string): Array; /** * Returns the wrapper of the closest parent Alert for the current element, * or the element itself if it is an instance of Alert. * If no Alert is found, returns `null`. * * @returns {AlertWrapper | null} */ findClosestAlert(): AlertWrapper | null; /** * Returns the wrapper of the first AnchorNavigation that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first AnchorNavigation. * If no matching AnchorNavigation is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {AnchorNavigationWrapper | null} */ findAnchorNavigation(selector?: string): AnchorNavigationWrapper | null; /** * Returns an array of AnchorNavigation wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the AnchorNavigations inside the current wrapper. * If no matching AnchorNavigation is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllAnchorNavigations(selector?: string): Array; /** * Returns the wrapper of the closest parent AnchorNavigation for the current element, * or the element itself if it is an instance of AnchorNavigation. * If no AnchorNavigation is found, returns `null`. * * @returns {AnchorNavigationWrapper | null} */ findClosestAnchorNavigation(): AnchorNavigationWrapper | null; /** * Returns the wrapper of the first Annotation that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Annotation. * If no matching Annotation is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {AnnotationWrapper | null} */ findAnnotation(selector?: string): AnnotationWrapper | null; /** * Returns an array of Annotation wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Annotations inside the current wrapper. * If no matching Annotation is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllAnnotations(selector?: string): Array; /** * Returns the wrapper of the closest parent Annotation for the current element, * or the element itself if it is an instance of Annotation. * If no Annotation is found, returns `null`. * * @returns {AnnotationWrapper | null} */ findClosestAnnotation(): AnnotationWrapper | null; /** * Returns the wrapper of the first AppLayout that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first AppLayout. * If no matching AppLayout is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {AppLayoutWrapper | null} */ findAppLayout(selector?: string): AppLayoutWrapper | null; /** * Returns an array of AppLayout wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the AppLayouts inside the current wrapper. * If no matching AppLayout is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllAppLayouts(selector?: string): Array; /** * Returns the wrapper of the closest parent AppLayout for the current element, * or the element itself if it is an instance of AppLayout. * If no AppLayout is found, returns `null`. * * @returns {AppLayoutWrapper | null} */ findClosestAppLayout(): AppLayoutWrapper | null; /** * Returns the wrapper of the first AppLayoutToolbar that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first AppLayoutToolbar. * If no matching AppLayoutToolbar is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {AppLayoutToolbarWrapper | null} */ findAppLayoutToolbar(selector?: string): AppLayoutToolbarWrapper | null; /** * Returns an array of AppLayoutToolbar wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the AppLayoutToolbars inside the current wrapper. * If no matching AppLayoutToolbar is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllAppLayoutToolbars(selector?: string): Array; /** * Returns the wrapper of the closest parent AppLayoutToolbar for the current element, * or the element itself if it is an instance of AppLayoutToolbar. * If no AppLayoutToolbar is found, returns `null`. * * @returns {AppLayoutToolbarWrapper | null} */ findClosestAppLayoutToolbar(): AppLayoutToolbarWrapper | null; /** * Returns the wrapper of the first AreaChart that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first AreaChart. * If no matching AreaChart is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {AreaChartWrapper | null} */ findAreaChart(selector?: string): AreaChartWrapper | null; /** * Returns an array of AreaChart wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the AreaCharts inside the current wrapper. * If no matching AreaChart is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllAreaCharts(selector?: string): Array; /** * Returns the wrapper of the closest parent AreaChart for the current element, * or the element itself if it is an instance of AreaChart. * If no AreaChart is found, returns `null`. * * @returns {AreaChartWrapper | null} */ findClosestAreaChart(): AreaChartWrapper | null; /** * Returns the wrapper of the first AttributeEditor that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first AttributeEditor. * If no matching AttributeEditor is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {AttributeEditorWrapper | null} */ findAttributeEditor(selector?: string): AttributeEditorWrapper | null; /** * Returns an array of AttributeEditor wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the AttributeEditors inside the current wrapper. * If no matching AttributeEditor is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllAttributeEditors(selector?: string): Array; /** * Returns the wrapper of the closest parent AttributeEditor for the current element, * or the element itself if it is an instance of AttributeEditor. * If no AttributeEditor is found, returns `null`. * * @returns {AttributeEditorWrapper | null} */ findClosestAttributeEditor(): AttributeEditorWrapper | null; /** * Returns the wrapper of the first Autosuggest that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Autosuggest. * If no matching Autosuggest is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {AutosuggestWrapper | null} */ findAutosuggest(selector?: string): AutosuggestWrapper | null; /** * Returns an array of Autosuggest wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Autosuggests inside the current wrapper. * If no matching Autosuggest is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllAutosuggests(selector?: string): Array; /** * Returns the wrapper of the closest parent Autosuggest for the current element, * or the element itself if it is an instance of Autosuggest. * If no Autosuggest is found, returns `null`. * * @returns {AutosuggestWrapper | null} */ findClosestAutosuggest(): AutosuggestWrapper | null; /** * Returns the wrapper of the first Badge that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Badge. * If no matching Badge is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {BadgeWrapper | null} */ findBadge(selector?: string): BadgeWrapper | null; /** * Returns an array of Badge wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Badges inside the current wrapper. * If no matching Badge is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllBadges(selector?: string): Array; /** * Returns the wrapper of the closest parent Badge for the current element, * or the element itself if it is an instance of Badge. * If no Badge is found, returns `null`. * * @returns {BadgeWrapper | null} */ findClosestBadge(): BadgeWrapper | null; /** * Returns the wrapper of the first BarChart that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first BarChart. * If no matching BarChart is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {BarChartWrapper | null} */ findBarChart(selector?: string): BarChartWrapper | null; /** * Returns an array of BarChart wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the BarCharts inside the current wrapper. * If no matching BarChart is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllBarCharts(selector?: string): Array; /** * Returns the wrapper of the closest parent BarChart for the current element, * or the element itself if it is an instance of BarChart. * If no BarChart is found, returns `null`. * * @returns {BarChartWrapper | null} */ findClosestBarChart(): BarChartWrapper | null; /** * Returns the wrapper of the first Box that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Box. * If no matching Box is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {BoxWrapper | null} */ findBox(selector?: string): BoxWrapper | null; /** * Returns an array of Box wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Boxes inside the current wrapper. * If no matching Box is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllBoxes(selector?: string): Array; /** * Returns the wrapper of the closest parent Box for the current element, * or the element itself if it is an instance of Box. * If no Box is found, returns `null`. * * @returns {BoxWrapper | null} */ findClosestBox(): BoxWrapper | null; /** * Returns the wrapper of the first BreadcrumbGroup that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first BreadcrumbGroup. * If no matching BreadcrumbGroup is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {BreadcrumbGroupWrapper | null} */ findBreadcrumbGroup(selector?: string): BreadcrumbGroupWrapper | null; /** * Returns an array of BreadcrumbGroup wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the BreadcrumbGroups inside the current wrapper. * If no matching BreadcrumbGroup is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllBreadcrumbGroups(selector?: string): Array; /** * Returns the wrapper of the closest parent BreadcrumbGroup for the current element, * or the element itself if it is an instance of BreadcrumbGroup. * If no BreadcrumbGroup is found, returns `null`. * * @returns {BreadcrumbGroupWrapper | null} */ findClosestBreadcrumbGroup(): BreadcrumbGroupWrapper | null; /** * Returns the wrapper of the first Button that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Button. * If no matching Button is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ButtonWrapper | null} */ findButton(selector?: string): ButtonWrapper | null; /** * Returns an array of Button wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Buttons inside the current wrapper. * If no matching Button is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllButtons(selector?: string): Array; /** * Returns the wrapper of the closest parent Button for the current element, * or the element itself if it is an instance of Button. * If no Button is found, returns `null`. * * @returns {ButtonWrapper | null} */ findClosestButton(): ButtonWrapper | null; /** * Returns the wrapper of the first ButtonDropdown that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first ButtonDropdown. * If no matching ButtonDropdown is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ButtonDropdownWrapper | null} */ findButtonDropdown(selector?: string): ButtonDropdownWrapper | null; /** * Returns an array of ButtonDropdown wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the ButtonDropdowns inside the current wrapper. * If no matching ButtonDropdown is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllButtonDropdowns(selector?: string): Array; /** * Returns the wrapper of the closest parent ButtonDropdown for the current element, * or the element itself if it is an instance of ButtonDropdown. * If no ButtonDropdown is found, returns `null`. * * @returns {ButtonDropdownWrapper | null} */ findClosestButtonDropdown(): ButtonDropdownWrapper | null; /** * Returns the wrapper of the first ButtonGroup that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first ButtonGroup. * If no matching ButtonGroup is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ButtonGroupWrapper | null} */ findButtonGroup(selector?: string): ButtonGroupWrapper | null; /** * Returns an array of ButtonGroup wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the ButtonGroups inside the current wrapper. * If no matching ButtonGroup is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllButtonGroups(selector?: string): Array; /** * Returns the wrapper of the closest parent ButtonGroup for the current element, * or the element itself if it is an instance of ButtonGroup. * If no ButtonGroup is found, returns `null`. * * @returns {ButtonGroupWrapper | null} */ findClosestButtonGroup(): ButtonGroupWrapper | null; /** * Returns the wrapper of the first Calendar that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Calendar. * If no matching Calendar is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {CalendarWrapper | null} */ findCalendar(selector?: string): CalendarWrapper | null; /** * Returns an array of Calendar wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Calendars inside the current wrapper. * If no matching Calendar is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllCalendars(selector?: string): Array; /** * Returns the wrapper of the closest parent Calendar for the current element, * or the element itself if it is an instance of Calendar. * If no Calendar is found, returns `null`. * * @returns {CalendarWrapper | null} */ findClosestCalendar(): CalendarWrapper | null; /** * Returns the wrapper of the first Cards that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Cards. * If no matching Cards is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {CardsWrapper | null} */ findCards(selector?: string): CardsWrapper | null; /** * Returns an array of Cards wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Cards inside the current wrapper. * If no matching Cards is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllCards(selector?: string): Array; /** * Returns the wrapper of the closest parent Cards for the current element, * or the element itself if it is an instance of Cards. * If no Cards is found, returns `null`. * * @returns {CardsWrapper | null} */ findClosestCards(): CardsWrapper | null; /** * Returns the wrapper of the first Checkbox that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Checkbox. * If no matching Checkbox is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {CheckboxWrapper | null} */ findCheckbox(selector?: string): CheckboxWrapper | null; /** * Returns an array of Checkbox wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Checkboxes inside the current wrapper. * If no matching Checkbox is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllCheckboxes(selector?: string): Array; /** * Returns the wrapper of the closest parent Checkbox for the current element, * or the element itself if it is an instance of Checkbox. * If no Checkbox is found, returns `null`. * * @returns {CheckboxWrapper | null} */ findClosestCheckbox(): CheckboxWrapper | null; /** * Returns the wrapper of the first CodeEditor that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first CodeEditor. * If no matching CodeEditor is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {CodeEditorWrapper | null} */ findCodeEditor(selector?: string): CodeEditorWrapper | null; /** * Returns an array of CodeEditor wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the CodeEditors inside the current wrapper. * If no matching CodeEditor is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllCodeEditors(selector?: string): Array; /** * Returns the wrapper of the closest parent CodeEditor for the current element, * or the element itself if it is an instance of CodeEditor. * If no CodeEditor is found, returns `null`. * * @returns {CodeEditorWrapper | null} */ findClosestCodeEditor(): CodeEditorWrapper | null; /** * Returns the wrapper of the first CollectionPreferences that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first CollectionPreferences. * If no matching CollectionPreferences is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {CollectionPreferencesWrapper | null} */ findCollectionPreferences(selector?: string): CollectionPreferencesWrapper | null; /** * Returns an array of CollectionPreferences wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the CollectionPreferences inside the current wrapper. * If no matching CollectionPreferences is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllCollectionPreferences(selector?: string): Array; /** * Returns the wrapper of the closest parent CollectionPreferences for the current element, * or the element itself if it is an instance of CollectionPreferences. * If no CollectionPreferences is found, returns `null`. * * @returns {CollectionPreferencesWrapper | null} */ findClosestCollectionPreferences(): CollectionPreferencesWrapper | null; /** * Returns the wrapper of the first ColumnLayout that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first ColumnLayout. * If no matching ColumnLayout is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ColumnLayoutWrapper | null} */ findColumnLayout(selector?: string): ColumnLayoutWrapper | null; /** * Returns an array of ColumnLayout wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the ColumnLayouts inside the current wrapper. * If no matching ColumnLayout is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllColumnLayouts(selector?: string): Array; /** * Returns the wrapper of the closest parent ColumnLayout for the current element, * or the element itself if it is an instance of ColumnLayout. * If no ColumnLayout is found, returns `null`. * * @returns {ColumnLayoutWrapper | null} */ findClosestColumnLayout(): ColumnLayoutWrapper | null; /** * Returns the wrapper of the first Container that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Container. * If no matching Container is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ContainerWrapper | null} */ findContainer(selector?: string): ContainerWrapper | null; /** * Returns an array of Container wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Containers inside the current wrapper. * If no matching Container is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllContainers(selector?: string): Array; /** * Returns the wrapper of the closest parent Container for the current element, * or the element itself if it is an instance of Container. * If no Container is found, returns `null`. * * @returns {ContainerWrapper | null} */ findClosestContainer(): ContainerWrapper | null; /** * Returns the wrapper of the first ContentLayout that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first ContentLayout. * If no matching ContentLayout is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ContentLayoutWrapper | null} */ findContentLayout(selector?: string): ContentLayoutWrapper | null; /** * Returns an array of ContentLayout wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the ContentLayouts inside the current wrapper. * If no matching ContentLayout is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllContentLayouts(selector?: string): Array; /** * Returns the wrapper of the closest parent ContentLayout for the current element, * or the element itself if it is an instance of ContentLayout. * If no ContentLayout is found, returns `null`. * * @returns {ContentLayoutWrapper | null} */ findClosestContentLayout(): ContentLayoutWrapper | null; /** * Returns the wrapper of the first CopyToClipboard that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first CopyToClipboard. * If no matching CopyToClipboard is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {CopyToClipboardWrapper | null} */ findCopyToClipboard(selector?: string): CopyToClipboardWrapper | null; /** * Returns an array of CopyToClipboard wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the CopyToClipboards inside the current wrapper. * If no matching CopyToClipboard is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllCopyToClipboards(selector?: string): Array; /** * Returns the wrapper of the closest parent CopyToClipboard for the current element, * or the element itself if it is an instance of CopyToClipboard. * If no CopyToClipboard is found, returns `null`. * * @returns {CopyToClipboardWrapper | null} */ findClosestCopyToClipboard(): CopyToClipboardWrapper | null; /** * Returns the wrapper of the first DateInput that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first DateInput. * If no matching DateInput is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {DateInputWrapper | null} */ findDateInput(selector?: string): DateInputWrapper | null; /** * Returns an array of DateInput wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the DateInputs inside the current wrapper. * If no matching DateInput is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllDateInputs(selector?: string): Array; /** * Returns the wrapper of the closest parent DateInput for the current element, * or the element itself if it is an instance of DateInput. * If no DateInput is found, returns `null`. * * @returns {DateInputWrapper | null} */ findClosestDateInput(): DateInputWrapper | null; /** * Returns the wrapper of the first DatePicker that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first DatePicker. * If no matching DatePicker is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {DatePickerWrapper | null} */ findDatePicker(selector?: string): DatePickerWrapper | null; /** * Returns an array of DatePicker wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the DatePickers inside the current wrapper. * If no matching DatePicker is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllDatePickers(selector?: string): Array; /** * Returns the wrapper of the closest parent DatePicker for the current element, * or the element itself if it is an instance of DatePicker. * If no DatePicker is found, returns `null`. * * @returns {DatePickerWrapper | null} */ findClosestDatePicker(): DatePickerWrapper | null; /** * Returns the wrapper of the first DateRangePicker that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first DateRangePicker. * If no matching DateRangePicker is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {DateRangePickerWrapper | null} */ findDateRangePicker(selector?: string): DateRangePickerWrapper | null; /** * Returns an array of DateRangePicker wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the DateRangePickers inside the current wrapper. * If no matching DateRangePicker is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllDateRangePickers(selector?: string): Array; /** * Returns the wrapper of the closest parent DateRangePicker for the current element, * or the element itself if it is an instance of DateRangePicker. * If no DateRangePicker is found, returns `null`. * * @returns {DateRangePickerWrapper | null} */ findClosestDateRangePicker(): DateRangePickerWrapper | null; /** * Returns the wrapper of the first Drawer that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Drawer. * If no matching Drawer is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {DrawerWrapper | null} */ findDrawer(selector?: string): DrawerWrapper | null; /** * Returns an array of Drawer wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Drawers inside the current wrapper. * If no matching Drawer is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllDrawers(selector?: string): Array; /** * Returns the wrapper of the closest parent Drawer for the current element, * or the element itself if it is an instance of Drawer. * If no Drawer is found, returns `null`. * * @returns {DrawerWrapper | null} */ findClosestDrawer(): DrawerWrapper | null; /** * Returns the wrapper of the first Dropdown that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Dropdown. * If no matching Dropdown is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {DropdownWrapper | null} */ findDropdown(selector?: string): DropdownWrapper | null; /** * Returns an array of Dropdown wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Dropdowns inside the current wrapper. * If no matching Dropdown is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllDropdowns(selector?: string): Array; /** * Returns the wrapper of the closest parent Dropdown for the current element, * or the element itself if it is an instance of Dropdown. * If no Dropdown is found, returns `null`. * * @returns {DropdownWrapper | null} */ findClosestDropdown(): DropdownWrapper | null; /** * Returns the wrapper of the first ErrorBoundary that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first ErrorBoundary. * If no matching ErrorBoundary is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ErrorBoundaryWrapper | null} */ findErrorBoundary(selector?: string): ErrorBoundaryWrapper | null; /** * Returns an array of ErrorBoundary wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the ErrorBoundaries inside the current wrapper. * If no matching ErrorBoundary is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllErrorBoundaries(selector?: string): Array; /** * Returns the wrapper of the closest parent ErrorBoundary for the current element, * or the element itself if it is an instance of ErrorBoundary. * If no ErrorBoundary is found, returns `null`. * * @returns {ErrorBoundaryWrapper | null} */ findClosestErrorBoundary(): ErrorBoundaryWrapper | null; /** * Returns the wrapper of the first ExpandableSection that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first ExpandableSection. * If no matching ExpandableSection is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ExpandableSectionWrapper | null} */ findExpandableSection(selector?: string): ExpandableSectionWrapper | null; /** * Returns an array of ExpandableSection wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the ExpandableSections inside the current wrapper. * If no matching ExpandableSection is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllExpandableSections(selector?: string): Array; /** * Returns the wrapper of the closest parent ExpandableSection for the current element, * or the element itself if it is an instance of ExpandableSection. * If no ExpandableSection is found, returns `null`. * * @returns {ExpandableSectionWrapper | null} */ findClosestExpandableSection(): ExpandableSectionWrapper | null; /** * Returns the wrapper of the first FileDropzone that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first FileDropzone. * If no matching FileDropzone is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {FileDropzoneWrapper | null} */ findFileDropzone(selector?: string): FileDropzoneWrapper | null; /** * Returns an array of FileDropzone wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the FileDropzones inside the current wrapper. * If no matching FileDropzone is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllFileDropzones(selector?: string): Array; /** * Returns the wrapper of the closest parent FileDropzone for the current element, * or the element itself if it is an instance of FileDropzone. * If no FileDropzone is found, returns `null`. * * @returns {FileDropzoneWrapper | null} */ findClosestFileDropzone(): FileDropzoneWrapper | null; /** * Returns the wrapper of the first FileInput that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first FileInput. * If no matching FileInput is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {FileInputWrapper | null} */ findFileInput(selector?: string): FileInputWrapper | null; /** * Returns an array of FileInput wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the FileInputs inside the current wrapper. * If no matching FileInput is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllFileInputs(selector?: string): Array; /** * Returns the wrapper of the closest parent FileInput for the current element, * or the element itself if it is an instance of FileInput. * If no FileInput is found, returns `null`. * * @returns {FileInputWrapper | null} */ findClosestFileInput(): FileInputWrapper | null; /** * Returns the wrapper of the first FileTokenGroup that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first FileTokenGroup. * If no matching FileTokenGroup is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {FileTokenGroupWrapper | null} */ findFileTokenGroup(selector?: string): FileTokenGroupWrapper | null; /** * Returns an array of FileTokenGroup wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the FileTokenGroups inside the current wrapper. * If no matching FileTokenGroup is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllFileTokenGroups(selector?: string): Array; /** * Returns the wrapper of the closest parent FileTokenGroup for the current element, * or the element itself if it is an instance of FileTokenGroup. * If no FileTokenGroup is found, returns `null`. * * @returns {FileTokenGroupWrapper | null} */ findClosestFileTokenGroup(): FileTokenGroupWrapper | null; /** * Returns the wrapper of the first FileUpload that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first FileUpload. * If no matching FileUpload is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {FileUploadWrapper | null} */ findFileUpload(selector?: string): FileUploadWrapper | null; /** * Returns an array of FileUpload wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the FileUploads inside the current wrapper. * If no matching FileUpload is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllFileUploads(selector?: string): Array; /** * Returns the wrapper of the closest parent FileUpload for the current element, * or the element itself if it is an instance of FileUpload. * If no FileUpload is found, returns `null`. * * @returns {FileUploadWrapper | null} */ findClosestFileUpload(): FileUploadWrapper | null; /** * Returns the wrapper of the first Flashbar that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Flashbar. * If no matching Flashbar is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {FlashbarWrapper | null} */ findFlashbar(selector?: string): FlashbarWrapper | null; /** * Returns an array of Flashbar wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Flashbars inside the current wrapper. * If no matching Flashbar is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllFlashbars(selector?: string): Array; /** * Returns the wrapper of the closest parent Flashbar for the current element, * or the element itself if it is an instance of Flashbar. * If no Flashbar is found, returns `null`. * * @returns {FlashbarWrapper | null} */ findClosestFlashbar(): FlashbarWrapper | null; /** * Returns the wrapper of the first Form that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Form. * If no matching Form is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {FormWrapper | null} */ findForm(selector?: string): FormWrapper | null; /** * Returns an array of Form wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Forms inside the current wrapper. * If no matching Form is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllForms(selector?: string): Array; /** * Returns the wrapper of the closest parent Form for the current element, * or the element itself if it is an instance of Form. * If no Form is found, returns `null`. * * @returns {FormWrapper | null} */ findClosestForm(): FormWrapper | null; /** * Returns the wrapper of the first FormField that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first FormField. * If no matching FormField is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {FormFieldWrapper | null} */ findFormField(selector?: string): FormFieldWrapper | null; /** * Returns an array of FormField wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the FormFields inside the current wrapper. * If no matching FormField is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllFormFields(selector?: string): Array; /** * Returns the wrapper of the closest parent FormField for the current element, * or the element itself if it is an instance of FormField. * If no FormField is found, returns `null`. * * @returns {FormFieldWrapper | null} */ findClosestFormField(): FormFieldWrapper | null; /** * Returns the wrapper of the first Grid that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Grid. * If no matching Grid is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {GridWrapper | null} */ findGrid(selector?: string): GridWrapper | null; /** * Returns an array of Grid wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Grids inside the current wrapper. * If no matching Grid is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllGrids(selector?: string): Array; /** * Returns the wrapper of the closest parent Grid for the current element, * or the element itself if it is an instance of Grid. * If no Grid is found, returns `null`. * * @returns {GridWrapper | null} */ findClosestGrid(): GridWrapper | null; /** * Returns the wrapper of the first Header that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Header. * If no matching Header is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {HeaderWrapper | null} */ findHeader(selector?: string): HeaderWrapper | null; /** * Returns an array of Header wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Headers inside the current wrapper. * If no matching Header is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllHeaders(selector?: string): Array; /** * Returns the wrapper of the closest parent Header for the current element, * or the element itself if it is an instance of Header. * If no Header is found, returns `null`. * * @returns {HeaderWrapper | null} */ findClosestHeader(): HeaderWrapper | null; /** * Returns the wrapper of the first HelpPanel that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first HelpPanel. * If no matching HelpPanel is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {HelpPanelWrapper | null} */ findHelpPanel(selector?: string): HelpPanelWrapper | null; /** * Returns an array of HelpPanel wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the HelpPanels inside the current wrapper. * If no matching HelpPanel is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllHelpPanels(selector?: string): Array; /** * Returns the wrapper of the closest parent HelpPanel for the current element, * or the element itself if it is an instance of HelpPanel. * If no HelpPanel is found, returns `null`. * * @returns {HelpPanelWrapper | null} */ findClosestHelpPanel(): HelpPanelWrapper | null; /** * Returns the wrapper of the first Hotspot that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Hotspot. * If no matching Hotspot is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {HotspotWrapper | null} */ findHotspot(selector?: string): HotspotWrapper | null; /** * Returns an array of Hotspot wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Hotspots inside the current wrapper. * If no matching Hotspot is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllHotspots(selector?: string): Array; /** * Returns the wrapper of the closest parent Hotspot for the current element, * or the element itself if it is an instance of Hotspot. * If no Hotspot is found, returns `null`. * * @returns {HotspotWrapper | null} */ findClosestHotspot(): HotspotWrapper | null; /** * Returns the wrapper of the first Icon that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Icon. * If no matching Icon is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {IconWrapper | null} */ findIcon(selector?: string): IconWrapper | null; /** * Returns an array of Icon wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Icons inside the current wrapper. * If no matching Icon is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllIcons(selector?: string): Array; /** * Returns the wrapper of the closest parent Icon for the current element, * or the element itself if it is an instance of Icon. * If no Icon is found, returns `null`. * * @returns {IconWrapper | null} */ findClosestIcon(): IconWrapper | null; /** * Returns the wrapper of the first Input that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Input. * If no matching Input is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {InputWrapper | null} */ findInput(selector?: string): InputWrapper | null; /** * Returns an array of Input wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Inputs inside the current wrapper. * If no matching Input is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllInputs(selector?: string): Array; /** * Returns the wrapper of the closest parent Input for the current element, * or the element itself if it is an instance of Input. * If no Input is found, returns `null`. * * @returns {InputWrapper | null} */ findClosestInput(): InputWrapper | null; /** * Returns the wrapper of the first ItemCard that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first ItemCard. * If no matching ItemCard is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ItemCardWrapper | null} */ findItemCard(selector?: string): ItemCardWrapper | null; /** * Returns an array of ItemCard wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the ItemCards inside the current wrapper. * If no matching ItemCard is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllItemCards(selector?: string): Array; /** * Returns the wrapper of the closest parent ItemCard for the current element, * or the element itself if it is an instance of ItemCard. * If no ItemCard is found, returns `null`. * * @returns {ItemCardWrapper | null} */ findClosestItemCard(): ItemCardWrapper | null; /** * Returns the wrapper of the first KeyValuePairs that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first KeyValuePairs. * If no matching KeyValuePairs is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {KeyValuePairsWrapper | null} */ findKeyValuePairs(selector?: string): KeyValuePairsWrapper | null; /** * Returns an array of KeyValuePairs wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the KeyValuePairs inside the current wrapper. * If no matching KeyValuePairs is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllKeyValuePairs(selector?: string): Array; /** * Returns the wrapper of the closest parent KeyValuePairs for the current element, * or the element itself if it is an instance of KeyValuePairs. * If no KeyValuePairs is found, returns `null`. * * @returns {KeyValuePairsWrapper | null} */ findClosestKeyValuePairs(): KeyValuePairsWrapper | null; /** * Returns the wrapper of the first LineChart that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first LineChart. * If no matching LineChart is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {LineChartWrapper | null} */ findLineChart(selector?: string): LineChartWrapper | null; /** * Returns an array of LineChart wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the LineCharts inside the current wrapper. * If no matching LineChart is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllLineCharts(selector?: string): Array; /** * Returns the wrapper of the closest parent LineChart for the current element, * or the element itself if it is an instance of LineChart. * If no LineChart is found, returns `null`. * * @returns {LineChartWrapper | null} */ findClosestLineChart(): LineChartWrapper | null; /** * Returns the wrapper of the first Link that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Link. * If no matching Link is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {LinkWrapper | null} */ findLink(selector?: string): LinkWrapper | null; /** * Returns an array of Link wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Links inside the current wrapper. * If no matching Link is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllLinks(selector?: string): Array; /** * Returns the wrapper of the closest parent Link for the current element, * or the element itself if it is an instance of Link. * If no Link is found, returns `null`. * * @returns {LinkWrapper | null} */ findClosestLink(): LinkWrapper | null; /** * Returns the wrapper of the first List that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first List. * If no matching List is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ListWrapper | null} */ findList(selector?: string): ListWrapper | null; /** * Returns an array of List wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Lists inside the current wrapper. * If no matching List is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllLists(selector?: string): Array; /** * Returns the wrapper of the closest parent List for the current element, * or the element itself if it is an instance of List. * If no List is found, returns `null`. * * @returns {ListWrapper | null} */ findClosestList(): ListWrapper | null; /** * Returns the wrapper of the first LiveRegion that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first LiveRegion. * If no matching LiveRegion is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {LiveRegionWrapper | null} */ findLiveRegion(selector?: string): LiveRegionWrapper | null; /** * Returns an array of LiveRegion wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the LiveRegions inside the current wrapper. * If no matching LiveRegion is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllLiveRegions(selector?: string): Array; /** * Returns the wrapper of the closest parent LiveRegion for the current element, * or the element itself if it is an instance of LiveRegion. * If no LiveRegion is found, returns `null`. * * @returns {LiveRegionWrapper | null} */ findClosestLiveRegion(): LiveRegionWrapper | null; /** * Returns the wrapper of the first MixedLineBarChart that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first MixedLineBarChart. * If no matching MixedLineBarChart is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {MixedLineBarChartWrapper | null} */ findMixedLineBarChart(selector?: string): MixedLineBarChartWrapper | null; /** * Returns an array of MixedLineBarChart wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the MixedLineBarCharts inside the current wrapper. * If no matching MixedLineBarChart is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllMixedLineBarCharts(selector?: string): Array; /** * Returns the wrapper of the closest parent MixedLineBarChart for the current element, * or the element itself if it is an instance of MixedLineBarChart. * If no MixedLineBarChart is found, returns `null`. * * @returns {MixedLineBarChartWrapper | null} */ findClosestMixedLineBarChart(): MixedLineBarChartWrapper | null; /** * Returns the wrapper of the first Modal that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Modal. * If no matching Modal is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ModalWrapper | null} */ findModal(selector?: string): ModalWrapper | null; /** * Returns an array of Modal wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Modals inside the current wrapper. * If no matching Modal is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllModals(selector?: string): Array; /** * Returns the wrapper of the closest parent Modal for the current element, * or the element itself if it is an instance of Modal. * If no Modal is found, returns `null`. * * @returns {ModalWrapper | null} */ findClosestModal(): ModalWrapper | null; /** * Returns the wrapper of the first Multiselect that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Multiselect. * If no matching Multiselect is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {MultiselectWrapper | null} */ findMultiselect(selector?: string): MultiselectWrapper | null; /** * Returns an array of Multiselect wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Multiselects inside the current wrapper. * If no matching Multiselect is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllMultiselects(selector?: string): Array; /** * Returns the wrapper of the closest parent Multiselect for the current element, * or the element itself if it is an instance of Multiselect. * If no Multiselect is found, returns `null`. * * @returns {MultiselectWrapper | null} */ findClosestMultiselect(): MultiselectWrapper | null; /** * Returns the wrapper of the first NavigableGroup that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first NavigableGroup. * If no matching NavigableGroup is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {NavigableGroupWrapper | null} */ findNavigableGroup(selector?: string): NavigableGroupWrapper | null; /** * Returns an array of NavigableGroup wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the NavigableGroups inside the current wrapper. * If no matching NavigableGroup is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllNavigableGroups(selector?: string): Array; /** * Returns the wrapper of the closest parent NavigableGroup for the current element, * or the element itself if it is an instance of NavigableGroup. * If no NavigableGroup is found, returns `null`. * * @returns {NavigableGroupWrapper | null} */ findClosestNavigableGroup(): NavigableGroupWrapper | null; /** * Returns the wrapper of the first Pagination that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Pagination. * If no matching Pagination is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {PaginationWrapper | null} */ findPagination(selector?: string): PaginationWrapper | null; /** * Returns an array of Pagination wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Paginations inside the current wrapper. * If no matching Pagination is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllPaginations(selector?: string): Array; /** * Returns the wrapper of the closest parent Pagination for the current element, * or the element itself if it is an instance of Pagination. * If no Pagination is found, returns `null`. * * @returns {PaginationWrapper | null} */ findClosestPagination(): PaginationWrapper | null; /** * Returns the wrapper of the first PanelLayout that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first PanelLayout. * If no matching PanelLayout is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {PanelLayoutWrapper | null} */ findPanelLayout(selector?: string): PanelLayoutWrapper | null; /** * Returns an array of PanelLayout wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the PanelLayouts inside the current wrapper. * If no matching PanelLayout is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllPanelLayouts(selector?: string): Array; /** * Returns the wrapper of the closest parent PanelLayout for the current element, * or the element itself if it is an instance of PanelLayout. * If no PanelLayout is found, returns `null`. * * @returns {PanelLayoutWrapper | null} */ findClosestPanelLayout(): PanelLayoutWrapper | null; /** * Returns the wrapper of the first PieChart that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first PieChart. * If no matching PieChart is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {PieChartWrapper | null} */ findPieChart(selector?: string): PieChartWrapper | null; /** * Returns an array of PieChart wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the PieCharts inside the current wrapper. * If no matching PieChart is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllPieCharts(selector?: string): Array; /** * Returns the wrapper of the closest parent PieChart for the current element, * or the element itself if it is an instance of PieChart. * If no PieChart is found, returns `null`. * * @returns {PieChartWrapper | null} */ findClosestPieChart(): PieChartWrapper | null; /** * Returns the wrapper of the first Popover that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Popover. * If no matching Popover is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {PopoverWrapper | null} */ findPopover(selector?: string): PopoverWrapper | null; /** * Returns an array of Popover wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Popovers inside the current wrapper. * If no matching Popover is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllPopovers(selector?: string): Array; /** * Returns the wrapper of the closest parent Popover for the current element, * or the element itself if it is an instance of Popover. * If no Popover is found, returns `null`. * * @returns {PopoverWrapper | null} */ findClosestPopover(): PopoverWrapper | null; /** * Returns the wrapper of the first ProgressBar that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first ProgressBar. * If no matching ProgressBar is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ProgressBarWrapper | null} */ findProgressBar(selector?: string): ProgressBarWrapper | null; /** * Returns an array of ProgressBar wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the ProgressBars inside the current wrapper. * If no matching ProgressBar is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllProgressBars(selector?: string): Array; /** * Returns the wrapper of the closest parent ProgressBar for the current element, * or the element itself if it is an instance of ProgressBar. * If no ProgressBar is found, returns `null`. * * @returns {ProgressBarWrapper | null} */ findClosestProgressBar(): ProgressBarWrapper | null; /** * Returns the wrapper of the first PromptInput that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first PromptInput. * If no matching PromptInput is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {PromptInputWrapper | null} */ findPromptInput(selector?: string): PromptInputWrapper | null; /** * Returns an array of PromptInput wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the PromptInputs inside the current wrapper. * If no matching PromptInput is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllPromptInputs(selector?: string): Array; /** * Returns the wrapper of the closest parent PromptInput for the current element, * or the element itself if it is an instance of PromptInput. * If no PromptInput is found, returns `null`. * * @returns {PromptInputWrapper | null} */ findClosestPromptInput(): PromptInputWrapper | null; /** * Returns the wrapper of the first PropertyFilter that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first PropertyFilter. * If no matching PropertyFilter is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {PropertyFilterWrapper | null} */ findPropertyFilter(selector?: string): PropertyFilterWrapper | null; /** * Returns an array of PropertyFilter wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the PropertyFilters inside the current wrapper. * If no matching PropertyFilter is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllPropertyFilters(selector?: string): Array; /** * Returns the wrapper of the closest parent PropertyFilter for the current element, * or the element itself if it is an instance of PropertyFilter. * If no PropertyFilter is found, returns `null`. * * @returns {PropertyFilterWrapper | null} */ findClosestPropertyFilter(): PropertyFilterWrapper | null; /** * Returns the wrapper of the first RadioButton that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first RadioButton. * If no matching RadioButton is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {RadioButtonWrapper | null} */ findRadioButton(selector?: string): RadioButtonWrapper | null; /** * Returns an array of RadioButton wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the RadioButtons inside the current wrapper. * If no matching RadioButton is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllRadioButtons(selector?: string): Array; /** * Returns the wrapper of the closest parent RadioButton for the current element, * or the element itself if it is an instance of RadioButton. * If no RadioButton is found, returns `null`. * * @returns {RadioButtonWrapper | null} */ findClosestRadioButton(): RadioButtonWrapper | null; /** * Returns the wrapper of the first RadioGroup that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first RadioGroup. * If no matching RadioGroup is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {RadioGroupWrapper | null} */ findRadioGroup(selector?: string): RadioGroupWrapper | null; /** * Returns an array of RadioGroup wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the RadioGroups inside the current wrapper. * If no matching RadioGroup is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllRadioGroups(selector?: string): Array; /** * Returns the wrapper of the closest parent RadioGroup for the current element, * or the element itself if it is an instance of RadioGroup. * If no RadioGroup is found, returns `null`. * * @returns {RadioGroupWrapper | null} */ findClosestRadioGroup(): RadioGroupWrapper | null; /** * Returns the wrapper of the first S3ResourceSelector that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first S3ResourceSelector. * If no matching S3ResourceSelector is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {S3ResourceSelectorWrapper | null} */ findS3ResourceSelector(selector?: string): S3ResourceSelectorWrapper | null; /** * Returns an array of S3ResourceSelector wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the S3ResourceSelectors inside the current wrapper. * If no matching S3ResourceSelector is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllS3ResourceSelectors(selector?: string): Array; /** * Returns the wrapper of the closest parent S3ResourceSelector for the current element, * or the element itself if it is an instance of S3ResourceSelector. * If no S3ResourceSelector is found, returns `null`. * * @returns {S3ResourceSelectorWrapper | null} */ findClosestS3ResourceSelector(): S3ResourceSelectorWrapper | null; /** * Returns the wrapper of the first SegmentedControl that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first SegmentedControl. * If no matching SegmentedControl is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {SegmentedControlWrapper | null} */ findSegmentedControl(selector?: string): SegmentedControlWrapper | null; /** * Returns an array of SegmentedControl wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the SegmentedControls inside the current wrapper. * If no matching SegmentedControl is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllSegmentedControls(selector?: string): Array; /** * Returns the wrapper of the closest parent SegmentedControl for the current element, * or the element itself if it is an instance of SegmentedControl. * If no SegmentedControl is found, returns `null`. * * @returns {SegmentedControlWrapper | null} */ findClosestSegmentedControl(): SegmentedControlWrapper | null; /** * Returns the wrapper of the first Select that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Select. * If no matching Select is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {SelectWrapper | null} */ findSelect(selector?: string): SelectWrapper | null; /** * Returns an array of Select wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Selects inside the current wrapper. * If no matching Select is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllSelects(selector?: string): Array; /** * Returns the wrapper of the closest parent Select for the current element, * or the element itself if it is an instance of Select. * If no Select is found, returns `null`. * * @returns {SelectWrapper | null} */ findClosestSelect(): SelectWrapper | null; /** * Returns the wrapper of the first SideNavigation that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first SideNavigation. * If no matching SideNavigation is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {SideNavigationWrapper | null} */ findSideNavigation(selector?: string): SideNavigationWrapper | null; /** * Returns an array of SideNavigation wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the SideNavigations inside the current wrapper. * If no matching SideNavigation is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllSideNavigations(selector?: string): Array; /** * Returns the wrapper of the closest parent SideNavigation for the current element, * or the element itself if it is an instance of SideNavigation. * If no SideNavigation is found, returns `null`. * * @returns {SideNavigationWrapper | null} */ findClosestSideNavigation(): SideNavigationWrapper | null; /** * Returns the wrapper of the first Slider that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Slider. * If no matching Slider is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {SliderWrapper | null} */ findSlider(selector?: string): SliderWrapper | null; /** * Returns an array of Slider wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Sliders inside the current wrapper. * If no matching Slider is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllSliders(selector?: string): Array; /** * Returns the wrapper of the closest parent Slider for the current element, * or the element itself if it is an instance of Slider. * If no Slider is found, returns `null`. * * @returns {SliderWrapper | null} */ findClosestSlider(): SliderWrapper | null; /** * Returns the wrapper of the first SpaceBetween that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first SpaceBetween. * If no matching SpaceBetween is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {SpaceBetweenWrapper | null} */ findSpaceBetween(selector?: string): SpaceBetweenWrapper | null; /** * Returns an array of SpaceBetween wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the SpaceBetweens inside the current wrapper. * If no matching SpaceBetween is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllSpaceBetweens(selector?: string): Array; /** * Returns the wrapper of the closest parent SpaceBetween for the current element, * or the element itself if it is an instance of SpaceBetween. * If no SpaceBetween is found, returns `null`. * * @returns {SpaceBetweenWrapper | null} */ findClosestSpaceBetween(): SpaceBetweenWrapper | null; /** * Returns the wrapper of the first Spinner that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Spinner. * If no matching Spinner is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {SpinnerWrapper | null} */ findSpinner(selector?: string): SpinnerWrapper | null; /** * Returns an array of Spinner wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Spinners inside the current wrapper. * If no matching Spinner is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllSpinners(selector?: string): Array; /** * Returns the wrapper of the closest parent Spinner for the current element, * or the element itself if it is an instance of Spinner. * If no Spinner is found, returns `null`. * * @returns {SpinnerWrapper | null} */ findClosestSpinner(): SpinnerWrapper | null; /** * Returns the wrapper of the first SplitPanel that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first SplitPanel. * If no matching SplitPanel is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {SplitPanelWrapper | null} */ findSplitPanel(selector?: string): SplitPanelWrapper | null; /** * Returns an array of SplitPanel wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the SplitPanels inside the current wrapper. * If no matching SplitPanel is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllSplitPanels(selector?: string): Array; /** * Returns the wrapper of the closest parent SplitPanel for the current element, * or the element itself if it is an instance of SplitPanel. * If no SplitPanel is found, returns `null`. * * @returns {SplitPanelWrapper | null} */ findClosestSplitPanel(): SplitPanelWrapper | null; /** * Returns the wrapper of the first StatusIndicator that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first StatusIndicator. * If no matching StatusIndicator is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {StatusIndicatorWrapper | null} */ findStatusIndicator(selector?: string): StatusIndicatorWrapper | null; /** * Returns an array of StatusIndicator wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the StatusIndicators inside the current wrapper. * If no matching StatusIndicator is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllStatusIndicators(selector?: string): Array; /** * Returns the wrapper of the closest parent StatusIndicator for the current element, * or the element itself if it is an instance of StatusIndicator. * If no StatusIndicator is found, returns `null`. * * @returns {StatusIndicatorWrapper | null} */ findClosestStatusIndicator(): StatusIndicatorWrapper | null; /** * Returns the wrapper of the first Steps that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Steps. * If no matching Steps is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {StepsWrapper | null} */ findSteps(selector?: string): StepsWrapper | null; /** * Returns an array of Steps wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Steps inside the current wrapper. * If no matching Steps is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllSteps(selector?: string): Array; /** * Returns the wrapper of the closest parent Steps for the current element, * or the element itself if it is an instance of Steps. * If no Steps is found, returns `null`. * * @returns {StepsWrapper | null} */ findClosestSteps(): StepsWrapper | null; /** * Returns the wrapper of the first Table that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Table. * If no matching Table is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {TableWrapper | null} */ findTable(selector?: string): TableWrapper | null; /** * Returns an array of Table wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Tables inside the current wrapper. * If no matching Table is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllTables(selector?: string): Array; /** * Returns the wrapper of the closest parent Table for the current element, * or the element itself if it is an instance of Table. * If no Table is found, returns `null`. * * @returns {TableWrapper | null} */ findClosestTable(): TableWrapper | null; /** * Returns the wrapper of the first Tabs that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Tabs. * If no matching Tabs is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {TabsWrapper | null} */ findTabs(selector?: string): TabsWrapper | null; /** * Returns an array of Tabs wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Tabs inside the current wrapper. * If no matching Tabs is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllTabs(selector?: string): Array; /** * Returns the wrapper of the closest parent Tabs for the current element, * or the element itself if it is an instance of Tabs. * If no Tabs is found, returns `null`. * * @returns {TabsWrapper | null} */ findClosestTabs(): TabsWrapper | null; /** * Returns the wrapper of the first TagEditor that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first TagEditor. * If no matching TagEditor is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {TagEditorWrapper | null} */ findTagEditor(selector?: string): TagEditorWrapper | null; /** * Returns an array of TagEditor wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the TagEditors inside the current wrapper. * If no matching TagEditor is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllTagEditors(selector?: string): Array; /** * Returns the wrapper of the closest parent TagEditor for the current element, * or the element itself if it is an instance of TagEditor. * If no TagEditor is found, returns `null`. * * @returns {TagEditorWrapper | null} */ findClosestTagEditor(): TagEditorWrapper | null; /** * Returns the wrapper of the first TextContent that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first TextContent. * If no matching TextContent is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {TextContentWrapper | null} */ findTextContent(selector?: string): TextContentWrapper | null; /** * Returns an array of TextContent wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the TextContents inside the current wrapper. * If no matching TextContent is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllTextContents(selector?: string): Array; /** * Returns the wrapper of the closest parent TextContent for the current element, * or the element itself if it is an instance of TextContent. * If no TextContent is found, returns `null`. * * @returns {TextContentWrapper | null} */ findClosestTextContent(): TextContentWrapper | null; /** * Returns the wrapper of the first TextFilter that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first TextFilter. * If no matching TextFilter is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {TextFilterWrapper | null} */ findTextFilter(selector?: string): TextFilterWrapper | null; /** * Returns an array of TextFilter wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the TextFilters inside the current wrapper. * If no matching TextFilter is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllTextFilters(selector?: string): Array; /** * Returns the wrapper of the closest parent TextFilter for the current element, * or the element itself if it is an instance of TextFilter. * If no TextFilter is found, returns `null`. * * @returns {TextFilterWrapper | null} */ findClosestTextFilter(): TextFilterWrapper | null; /** * Returns the wrapper of the first Textarea that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Textarea. * If no matching Textarea is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {TextareaWrapper | null} */ findTextarea(selector?: string): TextareaWrapper | null; /** * Returns an array of Textarea wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Textareas inside the current wrapper. * If no matching Textarea is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllTextareas(selector?: string): Array; /** * Returns the wrapper of the closest parent Textarea for the current element, * or the element itself if it is an instance of Textarea. * If no Textarea is found, returns `null`. * * @returns {TextareaWrapper | null} */ findClosestTextarea(): TextareaWrapper | null; /** * Returns the wrapper of the first Tiles that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Tiles. * If no matching Tiles is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {TilesWrapper | null} */ findTiles(selector?: string): TilesWrapper | null; /** * Returns an array of Tiles wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Tiles inside the current wrapper. * If no matching Tiles is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllTiles(selector?: string): Array; /** * Returns the wrapper of the closest parent Tiles for the current element, * or the element itself if it is an instance of Tiles. * If no Tiles is found, returns `null`. * * @returns {TilesWrapper | null} */ findClosestTiles(): TilesWrapper | null; /** * Returns the wrapper of the first TimeInput that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first TimeInput. * If no matching TimeInput is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {TimeInputWrapper | null} */ findTimeInput(selector?: string): TimeInputWrapper | null; /** * Returns an array of TimeInput wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the TimeInputs inside the current wrapper. * If no matching TimeInput is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllTimeInputs(selector?: string): Array; /** * Returns the wrapper of the closest parent TimeInput for the current element, * or the element itself if it is an instance of TimeInput. * If no TimeInput is found, returns `null`. * * @returns {TimeInputWrapper | null} */ findClosestTimeInput(): TimeInputWrapper | null; /** * Returns the wrapper of the first Toggle that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Toggle. * If no matching Toggle is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ToggleWrapper | null} */ findToggle(selector?: string): ToggleWrapper | null; /** * Returns an array of Toggle wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Toggles inside the current wrapper. * If no matching Toggle is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllToggles(selector?: string): Array; /** * Returns the wrapper of the closest parent Toggle for the current element, * or the element itself if it is an instance of Toggle. * If no Toggle is found, returns `null`. * * @returns {ToggleWrapper | null} */ findClosestToggle(): ToggleWrapper | null; /** * Returns the wrapper of the first ToggleButton that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first ToggleButton. * If no matching ToggleButton is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {ToggleButtonWrapper | null} */ findToggleButton(selector?: string): ToggleButtonWrapper | null; /** * Returns an array of ToggleButton wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the ToggleButtons inside the current wrapper. * If no matching ToggleButton is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllToggleButtons(selector?: string): Array; /** * Returns the wrapper of the closest parent ToggleButton for the current element, * or the element itself if it is an instance of ToggleButton. * If no ToggleButton is found, returns `null`. * * @returns {ToggleButtonWrapper | null} */ findClosestToggleButton(): ToggleButtonWrapper | null; /** * Returns the wrapper of the first Token that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Token. * If no matching Token is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {TokenWrapper | null} */ findToken(selector?: string): TokenWrapper | null; /** * Returns an array of Token wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Tokens inside the current wrapper. * If no matching Token is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllTokens(selector?: string): Array; /** * Returns the wrapper of the closest parent Token for the current element, * or the element itself if it is an instance of Token. * If no Token is found, returns `null`. * * @returns {TokenWrapper | null} */ findClosestToken(): TokenWrapper | null; /** * Returns the wrapper of the first TokenGroup that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first TokenGroup. * If no matching TokenGroup is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {TokenGroupWrapper | null} */ findTokenGroup(selector?: string): TokenGroupWrapper | null; /** * Returns an array of TokenGroup wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the TokenGroups inside the current wrapper. * If no matching TokenGroup is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllTokenGroups(selector?: string): Array; /** * Returns the wrapper of the closest parent TokenGroup for the current element, * or the element itself if it is an instance of TokenGroup. * If no TokenGroup is found, returns `null`. * * @returns {TokenGroupWrapper | null} */ findClosestTokenGroup(): TokenGroupWrapper | null; /** * Returns the wrapper of the first Tooltip that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Tooltip. * If no matching Tooltip is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {TooltipWrapper | null} */ findTooltip(selector?: string): TooltipWrapper | null; /** * Returns an array of Tooltip wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Tooltips inside the current wrapper. * If no matching Tooltip is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllTooltips(selector?: string): Array; /** * Returns the wrapper of the closest parent Tooltip for the current element, * or the element itself if it is an instance of Tooltip. * If no Tooltip is found, returns `null`. * * @returns {TooltipWrapper | null} */ findClosestTooltip(): TooltipWrapper | null; /** * Returns the wrapper of the first TopNavigation that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first TopNavigation. * If no matching TopNavigation is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {TopNavigationWrapper | null} */ findTopNavigation(selector?: string): TopNavigationWrapper | null; /** * Returns an array of TopNavigation wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the TopNavigations inside the current wrapper. * If no matching TopNavigation is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllTopNavigations(selector?: string): Array; /** * Returns the wrapper of the closest parent TopNavigation for the current element, * or the element itself if it is an instance of TopNavigation. * If no TopNavigation is found, returns `null`. * * @returns {TopNavigationWrapper | null} */ findClosestTopNavigation(): TopNavigationWrapper | null; /** * Returns the wrapper of the first TreeView that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first TreeView. * If no matching TreeView is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {TreeViewWrapper | null} */ findTreeView(selector?: string): TreeViewWrapper | null; /** * Returns an array of TreeView wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the TreeViews inside the current wrapper. * If no matching TreeView is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllTreeViews(selector?: string): Array; /** * Returns the wrapper of the closest parent TreeView for the current element, * or the element itself if it is an instance of TreeView. * If no TreeView is found, returns `null`. * * @returns {TreeViewWrapper | null} */ findClosestTreeView(): TreeViewWrapper | null; /** * Returns the wrapper of the first TutorialPanel that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first TutorialPanel. * If no matching TutorialPanel is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {TutorialPanelWrapper | null} */ findTutorialPanel(selector?: string): TutorialPanelWrapper | null; /** * Returns an array of TutorialPanel wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the TutorialPanels inside the current wrapper. * If no matching TutorialPanel is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllTutorialPanels(selector?: string): Array; /** * Returns the wrapper of the closest parent TutorialPanel for the current element, * or the element itself if it is an instance of TutorialPanel. * If no TutorialPanel is found, returns `null`. * * @returns {TutorialPanelWrapper | null} */ findClosestTutorialPanel(): TutorialPanelWrapper | null; /** * Returns the wrapper of the first Wizard that matches the specified CSS selector. * If no CSS selector is specified, returns the wrapper of the first Wizard. * If no matching Wizard is found, returns `null`. * * @param {string} [selector] CSS Selector * @returns {WizardWrapper | null} */ findWizard(selector?: string): WizardWrapper | null; /** * Returns an array of Wizard wrapper that matches the specified CSS selector. * If no CSS selector is specified, returns all of the Wizards inside the current wrapper. * If no matching Wizard is found, returns an empty array. * * @param {string} [selector] CSS Selector * @returns {Array} */ findAllWizards(selector?: string): Array; /** * Returns the wrapper of the closest parent Wizard for the current element, * or the element itself if it is an instance of Wizard. * If no Wizard is found, returns `null`. * * @returns {WizardWrapper | null} */ findClosestWizard(): WizardWrapper | null; } } export default function wrapper(root?: Element): ElementWrapper;