import type { FastifyInstance } from 'fastify'; import type { LOGGER_TOKEN } from '@tramvai/module-common'; import type { FETCH_WEBPACK_STATS_TOKEN } from '@tramvai/tokens-render'; import type { WEB_FASTIFY_APP_AFTER_ERROR_TOKEN, WEB_FASTIFY_APP_BEFORE_ERROR_TOKEN } from '@tramvai/tokens-server-private'; import type { ExtractDependencyType } from '@tinkoff/dippy'; import type { STATIC_ROOT_ERROR_BOUNDARY_ERROR_TOKEN } from '@tramvai/tokens-server'; export declare const errorHandler: (app: FastifyInstance, { log, beforeError, afterError, fetchWebpackStats, staticRootErrorBoundaryError, }: { log: ReturnType; beforeError: ExtractDependencyType; afterError: ExtractDependencyType; fetchWebpackStats: ExtractDependencyType; staticRootErrorBoundaryError: ExtractDependencyType; }) => Promise; //# sourceMappingURL=index.d.ts.map