declare global {
type HTMLElement = Element;
type NodeListOf = Iterable;
}
interface AccordionStates {
display: boolean;
openedAriaLabel: string;
closedAriaLabel: string;
}
interface CheckboxStates {
checked: boolean;
checkedAriaLabel: string;
uncheckedAriaLabel: string;
}
interface RadioStates {
checked: boolean;
}
interface ToggleStates {
pressed: boolean;
}
export {
HTMLElement,
NodeListOfHTMLElement,
AccordionStates,
CheckboxStates,
RadioStates,
ToggleStates
};