/** * DevExtreme (core/utils/callbacks.d.ts) * Version: 25.1.7 * Build date: Mon Nov 10 2025 * * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ /** * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution. */ type CallbackType = ((this: TContext, ...args: TArgs) => boolean) | ((this: TContext, ...args: TArgs) => void); /** * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution. */ export interface Callback { add(fn: CallbackType): this; remove(fn: CallbackType): this; has(fn: CallbackType): this; empty(): this; fireWith(context: TContext, args: TArgs): this; fire(...args: TArgs): this; fired(): boolean; } /** * @deprecated Attention! This type is for internal purposes only. If you used it previously, please submit a ticket to our {@link https://supportcenter.devexpress.com/ticket/create Support Center}. We will check if there is an alternative solution. */ export default function createCallback(options?): Callback;