/** * A ponyfill for `Symbol.asyncIterator` that is compatible with the * [recommended polyfill](https://github.com/Azure/azure-sdk-for-js/blob/%40azure/core-asynciterator-polyfill_1.0.2/sdk/core/core-asynciterator-polyfill/src/index.ts#L4-L6) * we recommend for React Native. * * As long as we use this symbol (instead of `for await` and `async *`) in this package, we can be compatible with async * iterators without requiring them. */ export declare const symbolAsyncIterator: typeof Symbol.asyncIterator; /** * Throttle a function to be called at most once every "wait" milliseconds, * on the trailing edge. * * Roughly equivalent to lodash/throttle with {leading: false, trailing: true} */ export declare function throttleTrailing(func: () => void, wait: number): () => void; /** * Throttle a function to be called at most once every "wait" milliseconds, * on the leading and trailing edge. * * Roughly equivalent to lodash/throttle with {leading: true, trailing: true} */ export declare function throttleLeadingTrailing(func: () => void, wait: number): () => void;