export interface IStackFrame {
    fullFilePath?: string;
    fileName?: string;
    fileNameWithLine?: string;
    filePath?: string;
    fileLine?: string;
    fileColumn?: string;
    filePathWithLine?: string;
    method?: string;
}
export interface IErrorObject {
    /** Name of the error*/
    name: string;
    /** Error message */
    message: string;
    /** native Error object */
    nativeError: Error;
    /** Stack trace of the error */
    stack: IStackFrame[];
}
export declare function isError(e: Error | unknown): boolean;
export declare function stringifyErrorObject(e: any): {
    [key: string]: string;
};
export declare function toErrorObject(error: Error): IErrorObject;
export declare function getCallerStackFrame(stackDepthLevel: number, error?: Error): IStackFrame;
