import { CoreError } from './error.model'; export declare type CoreErrorOptions = { contextMethod?: string; contextPackage?: string; offset?: number; printStacktrace?: boolean; }; export declare const stringifyStackTrace: (stackTrace: NodeJS.CallSite[]) => string; export declare const coreErrorStackTraceFactory: (opts: CoreErrorOptions) => (message: string, stack: NodeJS.CallSite[]) => string; export declare const coreErrorFactory: (message: string, opts: CoreErrorOptions) => CoreError; //# sourceMappingURL=error.factory.d.ts.map