import { HarnessPredicate, ComponentHarness } from '@angular/cdk/testing'; import { SkyHarnessFilters, SkyComponentHarness, SkyQueryableComponentHarness } from '@skyux/core/testing'; import { SkyStatusIndicatorHarness } from '@skyux/indicators/testing'; import { SkyPopoverHarness } from '@skyux/popovers/testing'; import { ComponentFixture } from '@angular/core/testing'; import { SkyCheckboxGroupHeadingLevel, SkyCheckboxGroupHeadingStyle, SkyFieldGroupHeadingLevel, SkyFieldGroupHeadingStyle, SkyRadioGroupHeadingLevel, SkyRadioGroupHeadingStyle } from '@skyux/forms'; import { Provider } from '@angular/core'; import { SkyIconHarness } from '@skyux/icon/testing'; /** * A set of criteria that can be used to filter a list of SkyCharacterCounterIndicatorHarness instances. */ interface SkyCharacterCounterIndicatorHarnessFilters extends SkyHarnessFilters { } /** * Harness for interacting with a character counter indicator component in tests. */ declare class SkyCharacterCounterIndicatorHarness extends SkyComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyCharacterCounterIndicatorHarness` that meets certain criteria. */ static with(filters: SkyCharacterCounterIndicatorHarnessFilters): HarnessPredicate; /** * Gets the current character count. */ getCharacterCount(): Promise; /** * Gets the character counter limit. */ getCharacterCountLimit(): Promise; /** * Indicates whether the character counter is in an error state because the current character * count is greater than the limit. */ isOverLimit(): Promise; } /** * A set of criteria that can be used to filter a list of `SkyFormErrorHarness` instances. */ interface SkyFormErrorHarnessFilters extends SkyHarnessFilters { /** * The name of the error. */ errorName?: string; } declare class SkyFormErrorHarness extends SkyComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyFormErrorHarness` that meets certain criteria */ static with(filters: SkyFormErrorHarnessFilters): HarnessPredicate; /** * Gets the error name. */ getErrorName(): Promise; /** * Gets the error text. */ getErrorText(): Promise; } /** * A set of criteria that can be used to filter a list of SkyInputBoxHarness instances. */ interface SkyInputBoxHarnessFilters extends SkyHarnessFilters { } /** * Harness for interacting with an input box component in tests. */ declare class SkyInputBoxHarness extends SkyQueryableComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyInputBoxHarness` that meets certain criteria. */ static with(filters: SkyInputBoxHarnessFilters): HarnessPredicate; /** * Clicks the help inline button. */ clickHelpInline(): Promise; /** * Gets the character counter indicator for the input box or throws an error if * a character limit is not specified. */ getCharacterCounter(): Promise; /** * Gets a list of status indicator harnesses for errors not automatically * handled by input box. */ getCustomErrors(): Promise; /** * Gets the custom form error. */ getCustomFormError(errorName: string): Promise; /** * Whether the custom form error is triggered. */ hasCustomFormError(errorName: string): Promise; /** * Whether the required field is empty. */ hasRequiredError(): Promise; /** * Whether the field has more characters than allowed. */ hasMaxLengthError(): Promise; /** * Whether the field has fewer characters than allowed. */ hasMinLengthError(): Promise; /** * Whether the field is set to an invalid email address. */ hasEmailError(): Promise; /** * Whether the field is set to an invalid URL. */ hasUrlError(): Promise; /** * Whether the field is set to an invalid date. */ hasInvalidDateError(): Promise; /** * Whether the field is set to an invalid minimum date. */ hasMinDateError(): Promise; /** * Whether the field is set to an invalid maximum date. */ hasMaxDateError(): Promise; /** * Whether the field is set to an invalid phone number. */ hasPhoneFieldError(): Promise; /** * Whether the field is set to an invalid time. */ hasTimeError(): Promise; /** * Indicates whether the input box has disabled styles applied. */ getDisabled(): Promise; /** * Gets the text for the input box label. */ getLabelText(): Promise; /** * Gets the help popover for the input box or throws an error if * the help popover is not configured. */ getHelpPopover(): Promise; /**2 * Gets the help popover content. */ getHelpPopoverContent(): Promise; /** * Gets the help popover title. */ getHelpPopoverTitle(): Promise; /** * Gets the hint text for the input box. */ getHintText(): Promise; /** * Indicates whether the input box has stacked styles applied. */ getStacked(): Promise; } /** * Allows interaction with a SKY UX checkbox component. * @internal * @deprecated Use `SkyCheckboxHarness` instead. */ declare class SkyCheckboxFixture { #private; constructor(fixture: ComponentFixture, skyTestId: string); /** * A flag indicating whether the checkbox is currently selected. */ get selected(): boolean; /** * The checkbox's label */ get labelText(): string | undefined; /** * The checkbox's icon type */ get iconType(): string | undefined; /** * The checkbox's type. */ get checkboxType(): string | undefined; /** * A flag indicating whether the checkbox is currently disabled. */ get disabled(): boolean; /** * Selects the checkbox. */ select(): void; /** * Deselects the checkbox. */ deselect(): void; } /** * A set of criteria that can be used to filter a list of `SkyCheckboxGroupHarness` instances. */ interface SkyCheckboxGroupHarnessFilters extends SkyHarnessFilters { } /** * A set of criteria that can be used to filter a list of `SkyCheckboxHarness` instances. */ interface SkyCheckboxHarnessFilters extends SkyHarnessFilters { } /** * Harness for interacting with a checkbox component in tests. */ declare class SkyCheckboxHarness extends SkyComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyCheckboxHarness` that meets certain criteria. */ static with(filters: SkyCheckboxHarnessFilters): HarnessPredicate; /** * Blurs the checkbox. */ blur(): Promise; /** * Clicks the help inline button. */ clickHelpInline(): Promise; /** * Puts the checkbox in a checked state by toggling it if it is currently unchecked, or doing nothing if it is already checked. */ check(): Promise; /** * Focuses the checkbox. */ focus(): Promise; /** * Gets the checkbox's aria-label. */ getAriaLabel(): Promise; /** * Gets the checkbox's aria-labelledby. */ getAriaLabelledby(): Promise; /** * Gets the help popover content. */ getHelpPopoverContent(): Promise; /** * Gets the help popover title. */ getHelpPopoverTitle(): Promise; /** * Gets the checkbox's label text. If the label is set via `labelText` and `labelHidden` is true, * the text will still be returned. */ getLabelText(): Promise; /** * Whether the label is hidden. Only supported when using the `labelText` input to set the label. */ getLabelHidden(): Promise; /** * Gets the checkbox's hint text. */ getHintText(): Promise; /** * Gets the checkbox's name. */ getName(): Promise; /** * Gets the checkbox's value. */ getValue(): Promise; /** * Whether the checkbox displays custom error. */ hasCustomError(errorName: string): Promise; /** * Whether the checkbox displays an error that it is required. */ hasRequiredError(): Promise; /** * Whether the checkbox is checked. */ isChecked(): Promise; /** * Whether the checkbox is disabled. */ isDisabled(): Promise; /** * Whether the checkbox is focused. */ isFocused(): Promise; /** * Whether the checkbox is required. */ isRequired(): Promise; /** * Whether the checkbox is stacked. */ isStacked(): Promise; /** * Puts the checkbox in an unchecked state by toggling it if it is currently checked, or doing nothing if it is already unchecked. */ uncheck(): Promise; } /** * Harness for interacting with a checkbox group component in tests. */ declare class SkyCheckboxGroupHarness extends SkyComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyCheckboxGroupHarness` that meets certain criteria. */ static with(filters: SkyCheckboxGroupHarnessFilters): HarnessPredicate; /** * Clicks the help inline button. */ clickHelpInline(): Promise; /** * Gets a specific checkbox based on the filter criteria. * @param filter The filter criteria. */ getCheckbox(filter: SkyCheckboxHarnessFilters): Promise; /** * Gets an array of checkboxes based on the filter criteria. * If no filter is provided, returns all checkboxes. * @param filter The optional filter criteria. */ getCheckboxes(filters?: SkyCheckboxHarnessFilters): Promise; /** * Gets the help popover content. */ getHelpPopoverContent(): Promise; /** * Gets the help popover title. */ getHelpPopoverTitle(): Promise; /** * Gets the checkbox group's heading text. If `headingHidden` is true, * the text will still be returned. */ getHeadingText(): Promise; /** * Gets the checkbox group's hint text. */ getHintText(): Promise; /** * Whether the heading is hidden. */ getHeadingHidden(): Promise; /** * The semantic heading level used for the checkbox group. Returns undefined if heading level is not set. */ getHeadingLevel(): Promise; /** * The heading style used for the checkbox group. */ getHeadingStyle(): Promise; /** * Whether the checkbox group is required. */ getRequired(): Promise; /** * Whether the checkbox group is stacked. */ getStacked(): Promise; /** * Whether all the checkboxes in a required group are unchecked. */ hasRequiredError(): Promise; /** * Whether the checkbox group has errors. */ hasError(errorName: string): Promise; } /** * Harness for interacting with a checkbox label component in tests. * @internal */ declare class SkyCheckboxLabelHarness extends ComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets the text content of the checkbox label. */ getText(): Promise; } /** * A set of criteria that can be used to filter a list of `SkyFileAttachmentHarness` instances. */ interface SkyFileAttachmentHarnessFilters extends SkyHarnessFilters { } /** * Harness for interacting with a file attachment component in tests. */ declare class SkyFileAttachmentHarness extends SkyComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyFileAttachmentHarness` that meets certain criteria. */ static with(filters: SkyFileAttachmentHarnessFilters): HarnessPredicate; /** * Clicks the attach file button if it is visible. */ clickAttachFileButton(): Promise; /** * Clicks the help inline button. */ clickHelpInline(): Promise; /** * Clicks the replace file button in default theme. */ clickReplaceFileButton(): Promise; /** * Clicks the attached file to download it. */ clickAttachedFile(): Promise; /** * Clicks the attached file's delete button. */ clickAttachedFileDeleteButton(): Promise; /** * Gets the accepted file types. */ getAcceptedTypes(): Promise; /** * Gets the custom form error. */ getCustomError(errorName: string): Promise; /** * Gets the help inline popover content. */ getHelpPopoverContent(): Promise; /** * Gets the help inline popover title. */ getHelpPopoverTitle(): Promise; /** * Gets the hint text. */ getHintText(): Promise; /** * Gets the file attachment label. */ getLabelText(): Promise; /** * Whether a custom error has fired. */ hasCustomError(errorName: string): Promise; /** * Whether the wrong file type error has fired. */ hasFileTypeError(): Promise; /** * Whether the max file size error has fired. */ hasMaxFileSizeError(): Promise; /** * Whether the min file size error has fired. */ hasMinFileSizeError(): Promise; /** * Whether the required error has fired. */ hasRequiredError(): Promise; /** * Whether file attachment is disabled. */ isDisabled(): Promise; /** * Whether file attachment is required. */ isRequired(): Promise; /** * Whether file attachment has stacked enabled. */ isStacked(): Promise; /** * Attaches a file. * Be sure to include `provideSkyFileReaderTesting` as a provider when calling this function in tests. * @example * ```typescript * TestBed.configureTestingModule({ * providers: [provideSkyFileReaderTesting()] * }); * ``` */ attachFile(file: File): Promise; } /** * A set of criteria that can be used to filter a list of `SkyFileDropHarness` instances. */ interface SkyFileDropHarnessFilters extends SkyHarnessFilters { } /** * Harness for interacting with a file drop component in tests. */ declare class SkyFileDropHarness extends SkyComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyFileDropHarness` that meets certain criteria. */ static with(filters: SkyFileDropHarnessFilters): HarnessPredicate; /** * Clicks the file drop target. */ clickFileDropTarget(): Promise; /** * Clicks the help inline button. */ clickHelpInline(): Promise; /** * Clicks the link upload `Done` button'. */ clickLinkUploadDoneButton(): Promise; /** * Enters text into the link upload input. */ enterLinkUploadText(link: string): Promise; /** * Gets the accepted file types. */ getAcceptedTypes(): Promise; /** * Gets the custom form error. */ getCustomError(errorName: string): Promise; /** * Gets the aria-label for the file upload button. */ getFileUploadAriaLabel(): Promise; /** * Gets the help inline popover content. */ getHelpPopoverContent(): Promise; /** * Gets the help inline popover title. */ getHelpPopoverTitle(): Promise; /** * Gets the hint text. */ getHintText(): Promise; /** * Gets the label text. */ getLabelText(): Promise; /** * Gets the link upload aria-label. */ getLinkUploadAriaLabel(): Promise; /** * Gets the link upload hint text. */ getLinkUploadHintText(): Promise; /** * Whether a custom form error has fired. */ hasCustomError(errorName: string): Promise; /** * Whether the file type error has fired. */ hasFileTypeError(): Promise; /** * Whether the max file size error has fired. */ hasMaxFileSizeError(): Promise; /** * Whether the min file size error has fired. */ hasMinFileSizeError(): Promise; /** * Whether the required error has fired. */ hasRequiredError(): Promise; /** * Whether the validate error from the customer validation has fired. */ hasValidateFnError(): Promise; /** * Whether label text is hidden. */ isLabelHidden(): Promise; /** * Whether file drop is required. */ isRequired(): Promise; /** * Whether file drop has stacked enabled. */ isStacked(): Promise; /** * Loads a single file. * Be sure to include `provideSkyFileReaderTesting` as a provider when calling this function in tests. * @example * ```typescript * TestBed.configureTestingModule({ * providers: [provideSkyFileReaderTesting()] * }); * `` */ loadFile(file: File): Promise; /** * Loads multiple files. * Be sure to include `provideSkyFileReaderTesting` as a provider when calling this function in tests. * @example * ```typescript * TestBed.configureTestingModule({ * providers: [provideSkyFileReaderTesting()] * }); * `` */ loadFiles(files: File[] | null): Promise; } /** * A set of criteria that can be used to filter a list of `SkyFileItemHarness` instances. */ interface SkyFileItemHarnessFilters extends SkyHarnessFilters { /** * Finds files whose file name matches this value. */ fileName: string; } /** * Harness for interacting with a file item component in tests. */ declare class SkyFileItemHarness extends ComponentHarness { /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyFileItemHarness` that meets certain criteria. */ static with(filters: SkyFileItemHarnessFilters): HarnessPredicate; /** * Clicks the delete button. */ clickDeleteButton(): Promise; /** * Gets the file name. */ getFileName(): Promise; /** * Gets the file size. */ getFileSize(): Promise; } /** * Provides mocks for file attachment testing. * @example * ```typescript * TestBed.configureTestingModule({ * providers: [provideSkyFileAttachmentTesting()] * }); * ``` */ declare function provideSkyFileAttachmentTesting(): Provider[]; /** * A set of criteria that can be used to filter a list of `SkyFormErrorHarness` instances. */ interface SkyFormErrorsHarnessFilters extends SkyHarnessFilters { } declare class SkyFormErrorsHarness extends SkyComponentHarness { /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyFormErrorsHarness` that meets certain criteria */ static with(filters: SkyFormErrorsHarnessFilters): HarnessPredicate; /** * Gets a list of all errors fired. */ getFormErrors(): Promise<{ errorName: string | null; }[]>; /** * Whether an error with the given name has fired. */ hasError(errorName: string): Promise; } /** * A set of criteria that can be used to filter a list of `SkyFieldGroupHarness` instances. */ interface SkyFieldGroupHarnessFilters extends SkyHarnessFilters { } /** * Harness for interacting with a field group component in tests. */ declare class SkyFieldGroupHarness extends SkyComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyFieldGroupHarness` that meets certain criteria. */ static with(filters: SkyFieldGroupHarnessFilters): HarnessPredicate; /** * Gets the field group's heading text. If `headingHidden` is true, * the text will still be returned. */ getHeadingText(): Promise; /** * Gets the field group's hint text. */ getHintText(): Promise; /** * Whether the heading is hidden. */ getHeadingHidden(): Promise; /** * Whether the field group is stacked. */ getStacked(): Promise; /** * The semantic heading level used for the field group. */ getHeadingLevel(): Promise; /** * The heading style used for the field group. */ getHeadingStyle(): Promise; /** * Clicks the help inline button. */ clickHelpInline(): Promise; /** * Gets the help popover content. */ getHelpPopoverContent(): Promise; /** * Gets the help popover title. */ getHelpPopoverTitle(): Promise; } /** * Allows interaction with a SKY UX radio buttons within a radio group. * @deprecated Use `SkyRadioHarness` instead. * @internal */ declare class SkyRadioFixture { #private; constructor(fixture: ComponentFixture, skyTestId: string); /** * The selected radio button value. */ get value(): string; /** * Set the selected radio button value. */ set value(value: string); /** * A flag indicating if every radio button in the radio group is disabled. */ get disabled(): boolean; /** * Set the disabled value for all radio buttons. */ set disabled(value: boolean); } /** * A set of criteria that can be used to filter a list of `SkyRadioGroupHarness` instances. */ interface SkyRadioGroupHarnessFilters extends SkyHarnessFilters { } /** * A set of criteria that can be used to filter a list of `SkyRadioHarness` instances. */ interface SkyRadioHarnessFilters extends SkyHarnessFilters { } /** * Harness for interacting with a radio button component in tests. */ declare class SkyRadioHarness extends SkyComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyRadioHarness` that meets certain criteria. */ static with(filters: SkyRadioHarnessFilters): HarnessPredicate; /** * Blurs the radio button. */ blur(): Promise; /** * Puts the radio button in a checked state if it is currently unchecked. */ check(): Promise; /** * Clicks the help inline button. */ clickHelpInline(): Promise; /** * Focuses the radio button. */ focus(): Promise; /** * Gets the radio button's aria-label. */ getAriaLabel(): Promise; /** * Gets the radio button's aria-labelledby. */ getAriaLabelledby(): Promise; /** * Gets the help popover content. */ getHelpPopoverContent(): Promise; /** * Gets the help popover title. */ getHelpPopoverTitle(): Promise; /** * Gets the radio button's hint text. */ getHintText(): Promise; /** * Whether the label is hidden. Only supported when using the `labelText` input to set the label. */ getLabelHidden(): Promise; /** * Gets the radio button's label text. If the label is set via `labelText` and `labelHidden` is true, * the text will still be returned. */ getLabelText(): Promise; /** * Gets the radio button's name. */ getName(): Promise; /** * Whether the radio button is checked. */ isChecked(): Promise; /** * Whether the radio button is disabled. */ isDisabled(): Promise; /** * Whether the radio button is focused. */ isFocused(): Promise; } /** * Harness for interacting with a radio group component in tests. */ declare class SkyRadioGroupHarness extends SkyComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyRadioGroupHarness` that meets certain criteria. */ static with(filters: SkyRadioGroupHarnessFilters): HarnessPredicate; /** * Clicks the help inline button. */ clickHelpInline(): Promise; /** * Gets the custom form error. */ getCustomError(errorName: string): Promise; /** * Whether the heading is hidden. */ getHeadingHidden(): Promise; /** * The semantic heading level used for the radio group. Returns undefined if heading level is not set. */ getHeadingLevel(): Promise; /** * The heading style used for the radio group. */ getHeadingStyle(): Promise; /** * Gets the radio group's heading text. If `headingHidden` is true, * the text will still be returned. */ getHeadingText(): Promise; /** * Gets the help popover content. */ getHelpPopoverContent(): Promise; /** * Gets the help popover title. */ getHelpPopoverTitle(): Promise; /** * Gets the radio group's hint text. */ getHintText(): Promise; /** * Gets a specific radio button based on the filter criteria. * @param filter The filter criteria. */ getRadioButton(filter: SkyRadioHarnessFilters): Promise; /** * Gets an array of radio buttons based on the filter criteria. * If no filter is provided, returns all radio buttons. * @param filters The optional filter criteria. */ getRadioButtons(filters?: SkyRadioHarnessFilters): Promise; /** * Whether the radio group is required. */ getRequired(): Promise; /** * Whether the radio group is stacked. */ getStacked(): Promise; /** * Whether a form error with the specified name has fired. */ hasError(errorName: string): Promise; } /** * Harness for interacting with a radio label component in tests. * @internal */ declare class SkyRadioLabelHarness extends ComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets the text content of the radio label. */ getText(): Promise; } /** * A set of criteria that can be used to filter a list of `SkySelectionBoxGridHarness` instances. */ interface SkySelectionBoxGridHarnessFilters extends SkyHarnessFilters { } /** * A set of criteria that can be used to filter a list of `SkySelectionBoxHarness` instances. */ interface SkySelectionBoxHarnessFilters extends SkyHarnessFilters { } /** * Harness to interact with a selection box component in tests. */ declare class SkySelectionBoxHarness extends SkyComponentHarness { /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkySelectionBoxHarness` that meets certain criteria. */ static with(filters: SkySelectionBoxHarnessFilters): HarnessPredicate; /** * Gets the checkbox or radio harness for the selection box form control. */ getControl(): Promise; /** * Gets the selection box description text. */ getDescriptionText(): Promise; /** * Gets the selection box header text. */ getHeaderText(): Promise; /** * Gets the selection box icon, if it exists. */ getIcon(): Promise; } /** * Harness for interacting with a selection box grid component in tests. */ declare class SkySelectionBoxGridHarness extends SkyComponentHarness { /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkySelectionBoxGridHarness` that meets certain criteria. */ static with(filters: SkySelectionBoxGridHarnessFilters): HarnessPredicate; /** * Gets a specific selection box based on the filter criteria. * @param filter The filter criteria. */ getSelectionBox(filter: SkySelectionBoxHarnessFilters): Promise; /** * Gets an array of selection boxes based on the filter criteria. * If no filter is provided, returns all selection boxes. * @param filters The optional filter criteria. */ getSelectionBoxes(filters?: SkySelectionBoxHarnessFilters): Promise; } /** * A set of criteria that can be used to filter a list of `SkyToggleSwitchHarness` instances. */ interface SkyToggleSwitchHarnessFilters extends SkyHarnessFilters { } /** * Harness for interacting with a toggle switch component in tests. */ declare class SkyToggleSwitchHarness extends SkyComponentHarness { #private; /** * @internal */ static hostSelector: string; /** * Gets a `HarnessPredicate` that can be used to search for a * `SkyToggleSwitchHarness` that meets certain criteria. */ static with(filters: SkyToggleSwitchHarnessFilters): HarnessPredicate; /** * Blurs the toggle switch. */ blur(): Promise; /** * Clicks the help inline button. */ clickHelpInline(): Promise; /** * Puts the toggle switch in a checked state. */ check(): Promise; /** * Focuses the toggle switch. */ focus(): Promise; /** * Gets the help popover content. */ getHelpPopoverContent(): Promise; /** * Gets the help popover title. */ getHelpPopoverTitle(): Promise; /** * Whether the label is hidden. Only supported when using the `labelText` input to set the label. */ getLabelHidden(): Promise; /** * Gets the toggle switch's label text. If the label is set via `labelText` and `labelHidden` is true, * the text will still be returned. */ getLabelText(): Promise; /** * Whether the toggle switch is checked. */ isChecked(): Promise; /** * Whether the toggle switch is disabled. */ isDisabled(): Promise; /** * Whether the toggle switch is focused. */ isFocused(): Promise; /** * Puts the toggle switch in an unchecked state. */ uncheck(): Promise; } export { SkyCharacterCounterIndicatorHarness, SkyCheckboxFixture, SkyCheckboxGroupHarness, SkyCheckboxHarness, SkyCheckboxLabelHarness, SkyFieldGroupHarness, SkyFileAttachmentHarness, SkyFileDropHarness, SkyFileItemHarness, SkyFormErrorHarness, SkyFormErrorsHarness, SkyInputBoxHarness, SkyRadioFixture, SkyRadioGroupHarness, SkyRadioHarness, SkyRadioLabelHarness, SkySelectionBoxGridHarness, SkySelectionBoxHarness, SkyToggleSwitchHarness, provideSkyFileAttachmentTesting }; export type { SkyCharacterCounterIndicatorHarnessFilters, SkyCheckboxGroupHarnessFilters, SkyCheckboxHarnessFilters, SkyFieldGroupHarnessFilters, SkyFileAttachmentHarnessFilters, SkyFileDropHarnessFilters, SkyFileItemHarnessFilters, SkyFormErrorHarnessFilters, SkyFormErrorsHarnessFilters, SkyInputBoxHarnessFilters, SkyRadioGroupHarnessFilters, SkyRadioHarnessFilters, SkySelectionBoxGridHarnessFilters, SkySelectionBoxHarnessFilters, SkyToggleSwitchHarnessFilters };