export interface RenderErrorContext { modelPath?: string; templatePath?: string; engine?: string; } export interface SerializedWorkerError { message: string; name: string; stack?: string; context?: RenderErrorContext; } export declare function serializeWorkerError(e: unknown, context?: RenderErrorContext): SerializedWorkerError; export declare function deserializeWorkerError(payload: SerializedWorkerError): Error; //# sourceMappingURL=worker-error.d.ts.map