/** @hidden */ /** */ import * as React from 'react'; import { ObjectValues } from '../private_utils'; import Watchable from '../watchable'; declare const WatchableGlobalAlertKeys: Readonly<{ __alertInfo: "__alertInfo"; }>; /** @hidden */ declare type WatchableGlobalAlertKey = ObjectValues; /** @hidden */ interface AlertInfo { content: React.ReactElement; } /** * @hidden * @example * ```js * import {globalAlert} from '@airtable/blocks/ui'; * globalAlert.showReloadPrompt(); * ``` */ declare class GlobalAlert extends Watchable { /** @internal */ static _className: string; /** @internal */ static _isWatchableKey(key: string): boolean; /** @internal */ _alertInfo: AlertInfo | null; /** @hidden */ constructor(); /** @internal */ get __alertInfo(): AlertInfo | null; /** */ showReloadPrompt(): void; } export default GlobalAlert;