TransformCallback: (error?: Error | null, data?: any) => void