/** * DevExpress Analytics (core\utils\_utils.typings.d.ts) * Version: 25.2.7 * Build date: May 5, 2026 * Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED * License: https://www.devexpress.com/Support/EULAs/universal.xml */ import * as localization from 'devextreme/localization'; import { IAction } from '../../widgets/utils'; import { DxPromise } from './_jqueryUtils'; export interface _ICommonCallbacksHandler { customizeActions?: (actions: IAction[]) => void; customizeLocalization?: (callbacks?: DxPromise[]) => void; onServerError?: (e: any) => void; onInitializing?: () => void; beforeRender?: (designerModel: any) => void; } export interface CustomizeMenuActionsCallbacksHandler { CustomizeMenuActions?: (sender: TSender, args: { Actions: IAction[]; }) => void; } export interface ICommonCallbacksHandler extends CustomizeMenuActionsCallbacksHandler, _ICommonCallbacksHandler { OnInitializing?: (sender: TSender) => void; BeforeRender?: (sender: TSender, args: TBeforeRenderSender) => void; CustomizeLocalization?: (sender: TSender, args: ICustomizeLocalizationEventArgs) => void; OnServerError?: (sender: TSender, args: { Error: any; }) => void; } export interface ICustomizeLocalizationEventArgs { LoadMessages: (messages: DxPromise | any | null) => void; SetAvailableCultures: (customCultures: any) => void; WidgetLocalization: typeof localization; } export interface ICommonBindingCustomizationHandler { _eventSenderCreated?: (sender: T) => void; }