/** * knex creates the timeout error with Node's default of 10 frames, which on the query path ends * inside the document service or a lifecycle hook. The caller of this function is awaited by the * same async chain, so capture that chain again with a higher limit (only on this failure path) and * keep knex's header and first frame. The error object itself is unchanged. * * A deeper stack is a convenience and must never replace the error being reported, so this leaves * the stack alone when stacks are disabled or when another library (APM, source maps) installed a * `prepareStackTrace` that returns something other than a string. */ export declare const deepenStack: (error: Error) => void; //# sourceMappingURL=stack.d.ts.map