/** * Visual style types for platform alert notifications. * Determines the color scheme and icon displayed with the alert. * * * @see showAlert action in q2-tecton-sdk * @see sendAlert-setup in q2-tecton-platform */ export declare enum PlatformAlertType { Info = "info", Error = "error", Danger = "danger", Warning = "warning", Success = "success" } /** * Options for the scrollTo action controlling scroll positioning. * Supports scrolling to specific coordinates, elements via selector, or with animation. * * @see scrollTo action in q2-tecton-sdk and q2-tecton-platform */ export type ScrollOption = { selector?: string; top?: number; left?: number; behavior?: ScrollBehavior; initialize?: boolean; }; /** * Base navigation options used when an alert click triggers navigation. * Provides the foundation for specifying which module to navigate to and its configuration. */ export interface BasePlatformNavigationOptions> { moduleName: ModuleName; moduleOptions: ModuleOptions; } /** * Navigation options for opening an overpanel when an alert is clicked. * Extends base navigation with the requirement that the target opens as an overpanel. */ export interface AlertNavigationViaOverpanelOptions> extends BasePlatformNavigationOptions { asOverpanel: true; } /** * Navigation options for standard platform navigation when an alert is clicked. * Extends base navigation with the requirement that the target opens inline (not as an overpanel). */ export interface PlatformNavigationOptions> extends BasePlatformNavigationOptions { asOverpanel: false; } /** * Union type for all alert navigation options. * Allows alerts to navigate either via overpanel or standard platform navigation. */ export type AlertNavigationOptions = AlertNavigationViaOverpanelOptions | PlatformNavigationOptions; /** * Configuration options for platform alert/toast notifications. * Controls the message content, visual style, duration, and optional navigation behavior. */ export interface PlatformAlertOptions { msg?: string; message?: string; styleType: Type; closable?: boolean; durationInMs?: number; onClickNavigation?: AlertNavigationOptions | void; [key: string]: any; } /** * Options for the openURL capability controlling how external URLs are opened. * Allows configuration of modal display, overpanel rendering, and native browser behavior. */ export interface OpenUrlOptions { showInModal?: boolean; showInOverpanel?: boolean; nativeBrowserIfInApp?: boolean; requiresToken?: boolean; closeOverpanel?: boolean; } //# sourceMappingURL=actions.d.ts.map