import { Application } from 'typedoc'; export declare const rethrow: (block: () => T, newErrorFactory: (err: any) => string | Error) => T; export declare const catchWrap: (block: () => T, contextMessage: string | ((err: any) => any)) => T; export declare const rootDir: ((app: Application) => string) & import("lodash").MemoizedFunction; export declare const Narrow: (v: any) => v is T; export declare const writeDiag: (diagDir: string | undefined | null, file: string, content: () => string) => void; //# sourceMappingURL=misc.d.ts.map