import { ElementWrapper } from '@cloudscape-design/test-utils-core/selectors'; export { ElementWrapper }; import AvatarWrapper from './avatar'; import ChatBubbleWrapper from './chat-bubble'; import LoadingBarWrapper from './loading-bar'; import SupportPromptGroupWrapper from './support-prompt-group'; export { AvatarWrapper }; export { ChatBubbleWrapper }; export { LoadingBarWrapper }; export { SupportPromptGroupWrapper }; declare module '@cloudscape-design/test-utils-core/dist/selectors' { interface ElementWrapper { /** * Returns a wrapper that matches the Avatars with the specified CSS selector. * If no CSS selector is specified, returns a wrapper that matches Avatars. * * @param {string} [selector] CSS Selector * @returns {AvatarWrapper} */ findAvatar(selector?: string): AvatarWrapper; /** * Returns a multi-element wrapper that matches Avatars with the specified CSS selector. * If no CSS selector is specified, returns a multi-element wrapper that matches Avatars. * * @param {string} [selector] CSS Selector * @returns {MultiElementWrapper} */ findAllAvatars(selector?: string): MultiElementWrapper; /** * Returns a wrapper that matches the ChatBubbles with the specified CSS selector. * If no CSS selector is specified, returns a wrapper that matches ChatBubbles. * * @param {string} [selector] CSS Selector * @returns {ChatBubbleWrapper} */ findChatBubble(selector?: string): ChatBubbleWrapper; /** * Returns a multi-element wrapper that matches ChatBubbles with the specified CSS selector. * If no CSS selector is specified, returns a multi-element wrapper that matches ChatBubbles. * * @param {string} [selector] CSS Selector * @returns {MultiElementWrapper} */ findAllChatBubbles(selector?: string): MultiElementWrapper; /** * Returns a wrapper that matches the LoadingBars with the specified CSS selector. * If no CSS selector is specified, returns a wrapper that matches LoadingBars. * * @param {string} [selector] CSS Selector * @returns {LoadingBarWrapper} */ findLoadingBar(selector?: string): LoadingBarWrapper; /** * Returns a multi-element wrapper that matches LoadingBars with the specified CSS selector. * If no CSS selector is specified, returns a multi-element wrapper that matches LoadingBars. * * @param {string} [selector] CSS Selector * @returns {MultiElementWrapper} */ findAllLoadingBars(selector?: string): MultiElementWrapper; /** * Returns a wrapper that matches the SupportPromptGroups with the specified CSS selector. * If no CSS selector is specified, returns a wrapper that matches SupportPromptGroups. * * @param {string} [selector] CSS Selector * @returns {SupportPromptGroupWrapper} */ findSupportPromptGroup(selector?: string): SupportPromptGroupWrapper; /** * Returns a multi-element wrapper that matches SupportPromptGroups with the specified CSS selector. * If no CSS selector is specified, returns a multi-element wrapper that matches SupportPromptGroups. * * @param {string} [selector] CSS Selector * @returns {MultiElementWrapper} */ findAllSupportPromptGroups(selector?: string): MultiElementWrapper; } } export default function wrapper(root?: string): ElementWrapper;