import { AppGeneratorContext } from '../index.js'; export declare const logErrorTemplate = "// For more information about this file see https://dove.feathersjs.com/guides/cli/log-error.html\nimport type { HookContext, NextFunction } from '../declarations'\nimport { logger } from '../logger'\n\nexport const logError = async (context: HookContext, next: NextFunction) => {\n try {\n await next()\n } catch (error: any) {\n logger.error(error.stack)\n \n // Log validation errors\n if (error.data) {\n logger.error('Data: %O', error.data)\n }\n\n throw error\n }\n}\n"; export declare const generate: (ctx: AppGeneratorContext) => Promise;