import { SagaGenerator } from 'typed-redux-saga'; import { StoreAction, StoreActionCreator } from '../../types'; /** * Creates a legacy wrapper-action debouncing saga that can handle multiple * different actions. * * This saga takes an action that wraps another action as its payload, * and debounces the inner action. It maintains separate debounce timers * for each unique action type, so different actions can be debounced * independently. * * @deprecated Wrapper-action debounce is retained for compatibility only. For * new debounce logic, watch the real action directly with `takeLatest` or * `takeLeading`, then `delay` inside the worker before running the effect. * * @param wrapperActionCreator - The action creator that wraps other actions * @param debounceMs - Debounce delay in milliseconds */ export declare function debounceSaga]>>(wrapperActionCreator: AC, debounceMs: number): SagaGenerator; /** * Creates a legacy wrapper-action debouncing saga with a custom key extractor. * * This allows you to debounce based on custom logic, not just action type. * For example, you might want to debounce per user ID, per conversation ID, etc. * * @deprecated Wrapper-action debounce is retained for compatibility only. For * new debounce logic, watch the real action directly with `takeLatest` or * `takeLeading`, then `delay` inside the worker before running the effect. * * @param wrapperActionCreator - The action creator that wraps other actions * @param debounceMs - Debounce delay in milliseconds * @param keyExtractor - Function to extract a unique key from the inner action */ export declare function debounceWithKeySaga]>>(wrapperActionCreator: AC, debounceMs: number, keyExtractor: (action: StoreAction) => string): SagaGenerator; //# sourceMappingURL=debounce-saga.d.ts.map