import { FronteggState, RetryConfig, WithRetryConfig } from '../interfaces'; export declare const delay: (ms?: number) => Promise; export declare const retry: (asyncFunc: () => Promise, retryCount: number, delay: number, shouldRetryWhenNull?: boolean) => Promise; export declare const retryIfNeeded: (asyncFunc: () => Promise, config?: RetryConfig) => Promise; export declare const withRetryConfig: (payload?: T) => WithRetryConfig; export declare const errorTraceId: (e: unknown) => string | undefined; export declare function omitProps(props: any, keys: string[]): T; /** * Check if the object is a proxy object to avoid cloning it */ export declare function isProxy(obj: any): boolean | undefined; export declare const deepClone: (objectToClone: any) => any; /** * Used to reset the state of the store to the initial state * @param store - the store object * @param statePath - the path to the state that needs to be reset * @param initialState - the initial state object */ export declare const deepResetState: (store: FronteggState, statePath: string[], initialState: any) => void;