/** * Creates an Error with a truncated stack trace. * Only keeps the first N lines of the stack trace to reduce noise. * * @param message - The error message * @param maxStackLines - Maximum number of stack trace lines to keep (default: 5) * @returns An Error object with truncated stack */ export declare function createError(message: string, maxStackLines?: number): Error;