@wix/design-system
Version:
@wix/design-system
25 lines • 923 B
TypeScript
declare const notificationDriverFactory: ({ element }: {
element: HTMLElement;
}) => {
exists: () => boolean;
visible: () => boolean;
hasTheme: () => boolean;
isStandardNotification: () => boolean;
isErrorNotification: () => boolean;
isSuccessNotification: () => boolean;
isWarningNotification: () => boolean;
isPremiumNotification: () => boolean;
getLabelText: () => string;
hasActionButton: () => boolean;
getActionButtonText: () => string;
hasCloseButton: () => boolean;
isRelativelyPositioned: () => boolean;
isFixedPositioned: () => boolean;
isAbsolutePositioned: () => boolean;
clickOnCloseButton: () => void;
clickOnActionButton: () => void;
getZIndex: () => number;
};
export default notificationDriverFactory;
export type NotificationDriver = ReturnType<typeof notificationDriverFactory>;
//# sourceMappingURL=Notification.driver.d.ts.map