export type Writable<T> = {
    -readonly [P in keyof T]: T[P];
};
/**
 * Ensures that any catched value is an instance of Error.
 * @param err
 * @returns
 */
export declare function ensureError(err: any): Error;
