import type { GradientOptions } from 'fabric';
import { Gradient } from 'fabric';
export declare const gradientUpdaterWrapper: <S, T extends Gradient<S> = Gradient<S>>(originalFn: (options: GradientOptions<"linear"> | GradientOptions<"radial">) => Promise<T>) => ((options: GradientOptions<"linear"> | GradientOptions<"radial">) => Promise<T>);
/**
 * Wraps and override the current fabricJS fromObject static functions
 * Used to upgrade from fabric 7 to fabric 8
 * If you used to export with includeDefaultValues = false, you have to specify
 * which were yours default origins values
 */
export declare const installGradientUpdater: () => void;
//# sourceMappingURL=index.d.ts.map