import { AnyFn } from '../../types.js'; import { IsSupportedType, SafeWrapped, Supports } from './wrapSafe.js'; export interface SafeWrapFn { (method: string, fn: Fn): SafeWrapped; (method: string, fn: Fn, isSupported: IsSupportedType): SafeWrapped; >(method: string, fn: Fn, isSupported: IsSupportedType, supports: S): SafeWrapped; } interface Options { isMounted?: () => boolean; isSupported?: IsSupportedType; } export declare function createWrapSafe(component?: string): SafeWrapFn; export declare function createWrapSafe(component: string, options: O): SafeWrapFn; export {};