export declare type TErrorStrategy = 'resolve' | 'skip' | 'warn' | 'throw'; /** * Handles an error with a specific 'strategy' * - if true is returned => the operation is allowed * - if false is returned => the operation is not allowed */ export declare function HandleError(error: () => Error, strategy?: TErrorStrategy): boolean;