/** * DevExtreme (data/abstract_store.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/ */ import { DxExtendedPromise, } from '../core/utils/deferred'; import { Store as StoreBase, StoreOptions as StoreOptionsBase, } from './store'; import { LoadOptions } from '../common/data'; /** * @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 type Options< TItem = any, TKey = any, > = AbstractStoreOptions; /** * @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 AbstractStoreOptions< TItem = any, TKey = any, > extends StoreOptionsBase { /** * A function that is executed after data is loaded to the store. */ onLoaded?: ((result: Array, loadOptions: LoadOptions) => 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 default class AbstractStore< TItem = any, TKey = any, > extends StoreBase { constructor(options?: Options); /** * Starts loading data. */ load(): DxExtendedPromise>; /** * Starts loading data. */ load(options: LoadOptions): DxExtendedPromise>; } /** * @deprecated Use StoreOptions from common/data instead * @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 type StoreOptions = StoreOptionsBase; /** * @deprecated Use Store from common/data instead * @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 type Store = StoreBase;